Quantcast
Channel: LabVIEW topics
Viewing all 69758 articles
Browse latest View live

labviewでのTCP通信(1:多数)について


Graficar Traza de DSC localizando los Break

Triggered "highspeed" Data aquisition with cRIO via FPGA?

$
0
0

Hello everybody,

 

I'm using a cRIO 9074 with various AI and AO Channels. Currently I'm using Scan Interface. I'm aware it's only possible to aquire data at about 1 kHz.

 

In the future I want to use the FPGA target to reach higher sample rates.

 

My Setup is a little bit different than examples I already found.

 

To the background:

 

The cRIO is my hardware for a laser based particle size sensor. I only need to aquire data, when the host VI from my PC triggers the measurement.

 

Requirements:

write amount of samples to be measured (eg. 10.000 kSamples/s) from host-PC to FPGA Target

trigger signal from host pc to FPGA Target

Measure data on FPGA Target and send it back to host PC

 

The application doesn't need to run in "real time" and the trigger signal doesn't have to be precise.

 

What would be a good method to transfer the measurement data package back to the host-PC?

The application is not time critical.

 

Is a FIFO a good option or are there simpler solutions?

 

 

Submitting a form in an embedded web browser (.NET)

$
0
0

Hi,

 

I'm having a problem controlling a website, namely I can submit forms with labview. In the code I have attached I use a free email provider (www.freemail.hu) as an example. If you navigate to this site you just find yourself on a login page and if you click on the blue button without entering any text to the textfields above:

1984_0-1623059921641.png

you'll see that the page responds with red texts saying you need to enter a username / password.

 

In the page I need to control the scenario is pretty much the same. The problem though is it seems that I can't control the button. I have no problems controlling the text fields and also no problem finding the button itself, its just that I can't automate the click event.

 

Interestingly I have no problem automating the click event on the gray (register) button. That works without any issues and the browser in my labview VI redirects to the new page. 

 

The other interesting thing I have found is that if pause my VI once the page is loaded I can press the register button manually and it works, but no matter if I press the blue button it does not reload the page so the red warnings don't appear.

 

Another thing is that if I use the chrome's developer tools and enter the following lines to the console:

x = document.getElementsByName("loginBtn")[0]

x.click()

 

then the page works fine. 

 

Its really beyond my knowledge how the two buttons work differently however I'm calling the same method for both of them and if I just use native javascript than both works.

 

Any help would be appreciated. Thanks!

Packed Library Build Error

$
0
0

I have two Classes say Class 1, Class 2 in a project. Class 1 has array of Class 2 objects and use accessors from Class 2. Now I have replaced the Object in Class 1 with DVRs and accessors with property nodes. When I try to rebuild the packed library again, the below error occurred. Suggest me a solution for this issue.

 

PPL Build Error.jpg

Comparison RT & Labview

$
0
0

Hi,

I´m trying to program an acquisition routine in a cRIO9047. This cRIO lets you program both in RT and Labview. The idea is to do the acquisition and send the data to the host PC. I did it in Labview and seems to work well but I wonder if this is a less reliable solution than programmed in RT.

Re: DAQ input protection (overvoltage & overcurrent) question

$
0
0

I too need to design a DAQ card. can you guide me

 

Email: sharrantsb2000@gmail.com

Using the same button for multiple event case

$
0
0

Hi experts,

 

May I know how to use the same button for multiple event cases? For example, I have a "enter" button that is used for several different purposes.

 

Is there a solution for this? Thank you in advance


A2B Communication Access using Labview

$
0
0

Hi All,

 

I am currently working on a project on amplifier validation.

 

I have the A2b analyzer device (Mentor graphics) in my hand. So how can I control the mentor device using the LabVIEW? Is there any LabVIEW API available for communication?

 

Thanks in advance.......

Counter USB-6212 doesn't work

$
0
0

Hello everyone,

I've got a question regarding the USB-6212. We want to use the 2 counters implemented in this module but we've got some issues there. In the pictures you can see how we created the DAQ Assistant (sorry for the bad quality). The thing is that our "student" module (myDAQ) works completely fine using the setup as seen in the pictures but the USB-6212 isn't. Does anyone have any idea why the USB-6212 isn't working? When using the USB-6212, we connect the channels PFI01 and PFI12. 

Thanks

Sebastian

Typical digital data uses and how to consume them

$
0
0

I am still learning Labview, thus the question. I have a process that I need to monitor. The process has numerous outputs from a PLC. Most are digital signals to control a valve. Some are signals to represent binary to decimal. My main questions is about digital data collection and using the digital on/off signals.

 

As I have experimented with the digital data collection it seems that the data layout is built more for monitoring data communications between chips - like watching busses on a motherboard. Example:

 

flycast_0-1623068738690.png

 

I need to detect changes in a single column of data in the above example.

 

Am I better off collecting the data as "one channel for each line" or "one channel for all lines"? Am I better off converting the digital data to boolean? What is the recommended way or design pattern for collecting digital data and using that digital data for on/off control signals?

 

How to see live video from IP camera which are connected to NVR

$
0
0

Hello Friends

 

I just thinking to integrate IP camera (want to see live from camera) on LabView.

IP camera is connected to NVR and NVR connected to Network switch with my PC.

 

Please help how to do that as i am begginer in LabView.

 

Thanks,

Asif Iqbal

ending multiple loops when the first loop ends

$
0
0

Hi,

i am not sure how this can be done easily, however if i have 4 loops doing the same task, how can i end the 3 remaining loops when the first one has finished?  please take a look at the vi it is 4 loops all looking for a a certain random number.  every time it is run a different loop will find the number first and stop, how can i use that to then to stop the other loops early to save them doing unwanted tasks?

 

every method i come up with relies on dataflow and therefore all loops have to finish for the dataflow to continue, i cant use variables, i tried with semaphores. 

 

what ever method is used would need to scale up ie have more loops

 

i am wondering if labview has something to do this that i am not aware of?

daqmx read multiple analog channel with python api

$
0
0

Hello,

I would like to read multiple analog channel from a ni daq system with python api.

I don't find anything to do that on the net.

Any idea?

Thanks

Publish My VI to a Web Page

$
0
0

i have problem when publish my vi to a browser show this message 

Access Error: 401 -- Unauthorized

 

 

 


Adding row to MultiColumn Listbox

$
0
0

Hi everyone,

 

The topic seems easy but is not ^^'
I have a large amount of data that has to be written in a MultiColumn Listbox and the only way to write data in it, is to use the property node "ItemNames", 2D String array, (as far as I know). So, each time I have to write 1 row, I have to write all the data (~1 000 000 row) and it takes too much time.
I tried to use the property node "Defer Panel Updates" but it doesn't solve my problem.

I attached a test VI where you can see my problem.
My request is simple, I want to add to my multi column listbox 1 row after another instead of all the lines.

 

If you have any ideas let me know.

Thanks and see you soon !

LabVIEW: (Hex 0x38) The network operation exceeded the user-specified or system time limit.

Labview 20 Data plugin for yokogawa mxd file

$
0
0

Hello, I've got an error 2500 when trying to open a mxd file generated by MW 100 yokogawa data logger with Opendata_storage VI.  It works fine with TDMS files. The Yokogawa Data plugin is well recorded and can be listed with the data plugins manager.Thanks for advices.

.

ni visa device driver interrupts

$
0
0

Hi to all. Please help me in this. My pxi device generate two interrupts by setting zero bit in 42h and 43h registers. And to clear it i have to write any data to 44h and 45h registers. I configure visa driver wizard in this way:

1.png

2.png

3.png

4.png

5.png

... But it doesn't work. And events not activating.

Viewing all 69758 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>