06-01-2016 01:29 PM
Can you save it in LV 2012 and attach the VI .. I can help as much as possible working within your controls.
06-01-2016 01:36 PM
Chris,
Thanks for your help. Attached you'll find my VI saved into 12.0 version.
Regards
06-01-2016 01:44 PM
For the sake of completeness can you please send the VIs used, such as Initialize, Close and Configure Standard Waveform..
06-01-2016 01:47 PM
Thank you!
06-01-2016 02:10 PM - edited 06-01-2016 02:11 PM
Since I don't have the lvlib of the Tek SW, nor do I have the physical devices, I can't check this, but this should work.
Note: Due to the OR function with the error cluster, it will stop on EITHER error or the "Stop" button
Note: You may have to reload the Tek VIs or just replace the VIs from your machine into this one due to dependencies of the lvlib not being in my machine
Let me know what the outcome is.
06-01-2016 03:28 PM
Chris,
Thank you very much. I am outside of the lab atm, but tomorrow at first hour i'll test and give feedback.
Really thank you for your time
06-02-2016 09:13 AM
Chris,
Not able to work. FOllowing, i'll attach the errors i have. Picture 1 is first try to modify any value. Second picture is trying to modify after getting error.
Regards
06-02-2016 09:43 AM
Hmmm,
Are you sure you have correct VISA resource name? Try doing this: Make a separate VI and just direct wire it all without the event structure and see if the VIs you are using from Tek are working properly. Pass the resource into the initialize and the output resource out to the next Tek VI, so on and so forth.
06-02-2016 10:01 AM
Hi Cris,
As u can see in DAQ MAx it works.
Its really strange, the turn ON / OFF channel VI works, as the wave generator also but only when i operate inside the VI, not having the block.
The resource name is correct, changed to Func, maybe the _ did something strange
06-02-2016 10:09 AM
Alright,
Try the first VI and see if an error pops up while single stepping through and highlight execution is on. Tell me if the error case surrounding the while loop is where the error begins.
Then try the second VI and see what happens, that has no event structure, just to see if what you're doing programmatically is the right inputs.