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.
08-03-2010 03:56 AM
I have two PXIe-6358 card and I want to send control signals to my device and read out the analog signals of the device with them.
For the digital control signals I tried to build a system where I specify the identifiers of the pins, get them into string arrays - the respective waveforms would be collected into arrays too - and I transfer them to a multiple input/output VI which puts the digital waveforms to the output pins of the cards.
I developed this code here but it doesn't seem to work. I cannot figure out how I can transform the string and waveform array to suit the input/output VI's requirements or which other VI I could use to do the job. Or is there a cleverer way to do it?
Thanks,
Krivan
Solved! Go to Solution.
08-04-2010 08:06 AM
Hi there Krivan
What you need to do is first, concatanate the inputs on the build array by right clicking on this and selecting 'Concatanate Inputs' so this adds all the inputs together. Then you need to convert the data type from 1D array ANALOG waveform to DIGITAL waveform. I have attached the VI with this in. Hope this helps!
08-04-2010 08:58 AM
Hi,
I have LV8.6 so can you please post it in 8.6 format or in PNG/JPG?
Thanks!
08-04-2010 09:01 AM
Dear Krivan
Please find attached the VI in LV 8.6 format. Also, I STRONGLY recommend reorganizing the Front Panel and making this neater, your code is very hard to read and not structured at all. Hope this helps!
08-04-2010 09:07 AM
Hi David,
thanks for your suggestions. Yepp, I'll modify the code as it was just a preliminary version. The a/d waveform conversion has solved the problem.
Krivan