07-11-2005 03:45 PM
07-12-2005 07:06 PM
07-27-2005 01:55 PM
07-27-2005 02:15 PM - edited 07-27-2005 02:15 PM
Message Edited by Dennis Knutson on 07-27-2005 01:16 PM
07-27-2005 02:25 PM
Hi, Im really new to LabVIEW so I think its just easier to post my program since I am not sure about the details with the equiptment. I know im using Ni- DAQmx,
Basically for my program eventually I would like to take one input with 128 signals, and display them on a waveform (16 per graph), Then The user selects which signals he would like to view from the 128 using the selection tool box. This displays the filtered signal.
Once they have aquired their desire signals, the user clicks on the toggle of the Analyze data, and they are able to choose a method of frequency analysis to analyze their signals, which is updated every second.
My program is soo slow I am nott able to run any of it, it works fine in LabVIEW but when I run it on the RT target it is very slow and pauses sometimes.
07-28-2005 05:49 PM
Hi Sophie,
I have looked at your VI and one reason you may have a slow progam is you have a lot of filter express VIs and any time you use express VIs you are slowing down your acquisition. What rate do you have your analog input express VI set to acquire at? (It is set to the default when I open it, so I suspect it is different than what you are actually using. Double click your DAQ Assistant to open it up and look) How are you viewing the VI on your remote target? If you are using an internet connection, is it possible that the connection is slow and causing your front panel to look like you are missing data?
Laura
07-29-2005 08:24 AM
Hi, for my DAQ Assistant, Im not quite sure I understand the parameters with the clocking, you know the difference between number of samples, and the sampling rate. Right now it is set to the default of 100 samples, and a rate of 1000Hz, so I am not quite sure what my sampling frequency is?
I dont know if you know what Im talking about, you know the DAQ- timing task, where it lists all the sampling parameters.
Also I am running it using a cable from my laptop to the NI PXI-1042 device, with an RT target?, however this RT target is always very slow for me to connect.
Sorry if its not clear, im really new to this DAQ stuff
08-01-2005 02:03 PM
Hello Sophie,
Don't worry, you are being clear. I understand what you are describing. So to summarize, the VI runs fine on your host PC, but you are having trouble connecting to your RT target. So when you change your execution target, it takes a long time to connect? And then once you are connected the program runs very slow? Can you try a different program, perhaps a simple one that just collects data from one channel? You could just open up an example. To do so, in LabVIEW go to Help>>Find Examples to open the example finder. Then, browse to Hardware Input and Output >> DAQmx >> Analog Measurements >> Voltage and choose a VI, maybe Cont Acq&Graph Voltage - Int Clk which will continuously graph your voltage until you press stop. Open up one of these examples and then run it on your RT target using the method you have been using and let us know if it is still running slow.
Thanks,
Laura
08-05-2005 03:41 PM