09-25-2012 11:15 AM
hi,
I wonder how can I generate 2 digital waveforms which continuous, and I shall be able to have them either same phase, or 1/2 phase different, or 1/4 phase different. And I need them to be able to output them in any channel (freely) of my PXI 6544.
I've seen generation examples (without script), but most examples shows only how to generate data in parallel way. Should I use script generation to achieve this? with repeat forever thing?
regards,
yan
Solved! Go to Solution.
09-25-2012 11:17 AM
they would be like this if they have 1/4 phase different.
regards,
yan.
09-26-2012 03:36 AM - edited 09-26-2012 03:37 AM
ok nvm,
I just need to use scripted generation indeed, repeat forever an array of certain values. And I could multiply the values with constant to get similar output in different channels.
But the next challenge is, I need in other channel to generate static voltage, at the same time without losing my dynamic data. How to do that? I tried this (screenshot), but my channel 0-1 (dynamic data) are going back to zero after the "time to wait (ms)" elapsed.
From the help menu, I found that static write can be masked, which means, that channel with mask wouldnt be changed, whatever the data on "write data" pin are.
Please help,
regards,
Yan.
09-26-2012 04:16 AM
Hello Yan,
can you zip your project and send it to me?
Best regards,
Tobias
09-26-2012 05:09 AM
hi tobias,
here is the VI without zip.
09-26-2012 07:28 AM
hello Yan,
try this modification of your VI and please check what value the "done" exit of the "Is Done.vi" has.
Best regards,
Tobias
09-26-2012 09:21 AM
hi tobias, can you please re upload your VI for labview 2010? thanks.
regards,
yan.
09-26-2012 09:36 AM
Hello Yan,
Here is your VI in 2010
Best regards,
Tobias
09-26-2012 10:22 AM
hi tobias,
I've tried your VI, and it works. And the value of "done" is somehow always FALSE, which means while loop wont end unless I click STOP.
Thanks,
regards,
Yan.
09-26-2012 10:27 AM
Hello Yan,
Nice to hear.
Do you have any further question?
Best regards,
Tobias