03-21-2018 12:31 PM
Hi everyone,
I am currently working on a testbench and I need to be able to produce different level of tensions depending on which part of the sequence I am in with an ni PXIe 6555 using HSDIO.
This goes like this:
seq_A>seq_B>seq_C...
A uses 0-3.3V
B uses 0-5V
C uses a custom level
I already use all my channels so I can't switch channels in order to find a go around solution and they are already set to a dynamic generation since I am using waveforms. At the moment I have all the results with the sequences when I do it one by one but I can't seem to find a way to do it fast.
I already succeeded in doing them one at a time, unload the waveform, reconfigure, upload the new one but the timing in between is way too long, it takes 3ms for all of this to be done so I am looking for a more optimal solution which could run smoothly.
I tried using different vi, one for each sequence, produce them and then generate, wait until it's done, generate... but it is bugging without an error message.
If you have any idea of how to proceed, thanks for the help!
03-22-2018 04:42 PM
baudouinchauviere,
By different tensions, do you just mean that each of your sequences has different high and low voltages? First one has 0 and 3.3, second has 0 and 5, and C is customizable?
What do you mean that the code bugs without and error message, does it hang, or just not produce an output?
VanCamp
03-22-2018 05:53 PM
By different tensions I mean just that. Each sequence needs different high and low voltages.
The code bugs with no error output so I dug into the debugger the value of the error and found this afterward:
IVI: (Hex 0xBFFA0067) Unknown physical repeated capability selector.
</nierror>
<nierror code="-1074130544">