From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-01-2011 01:20 AM
Hello, I'm using USB-6009 with Labview 8.5
I've searched and went over array tutorial and still confused about data acquisition.. : (
so here's what I'm trying to do (simple)
I have two analog voltage input (AI0 and AI1) thru DAQ assistant
and I want to monitor them respectivelly and finally want to write them to either lvm format or csv format..
Question 1.
Can I have any array example VI with DAQ assistant ? all the tutorials I went over
they just deal with numbers.. not the dynamics data..
I think of.. converting the data to DBL and somehow rearrange to each array to put monitor graph
Question 2.
so, I splitted the data using array to show the monitor, then should I add those two set of array data
to write to file ? or.. is there a way to write to file directly from the Daq Assistant to Write to File VI ?
Quesetion 3.
If so, could you tell me how this write to file save the data ? 1st column with odd row -> AI0
1st column with even row -> A1 .. something like this ? ?
Thanks, I've spent about 3 hours doing this , googled them, read the labview help, and did not help much
Solved! Go to Solution.
09-01-2011 05:47 AM
What you are asking for can definitely be done real quick. Post your VI and we can offer suggestions.
09-02-2011 02:08 AM
THanks, here is my VI
I think this is working and my lvm file shows me 2 different colums of data
however I'm not sure why it's skipping the first column. I get zeros for this coulmn
and I'm also not sure whether I need to re-convert the dynamic data to output to lvm file
Can I just wire it from the pure dynamic data (before convert to double data) and write to file ?
Thanks,
09-02-2011 03:12 AM
1. You should be able to double-click on the Convert from Dynamic Data and convert the waveform into an array.
2. Just connect the output of the DAQmx Express VI to the Write to LVM Express VI.