02-25-2009 02:33 PM
Hello Alipio,
I wired the origional version to my DAQ device, it worked but the trigger would not reset some some readings were inaccurate. Also, I have two devices with this signal on two seperate channels on my DAQ. I will wire in this new code to the DAQ and give it a test run.
Thanks,
Brian
02-26-2009 02:43 PM
Hello Alipio,
I used the updated code, much better. Thanks this is fantastic! I scaled the anolg signal output signals to their respective values and the reluslt are good so far. I have a question. What is the best way to run two sets of these loops (the Producer Loop and Consumer Loop)? I used the code for both devices and since they basically gave the same signal, differing only in amplituce for the 5 signals, the results were the same-it worked. Thank you for your help with this project.
Thanks,
Brian
02-27-2009 12:44 AM
Hello.
Probably, you will need only a producer loop adquirig 2 channel simultaneously. Then, separate the channels to fill 2 different queues.
In that way, you will need to duplicate the consumer loop to have the tu signals processed. To avoif probelm wiht subvis, make a copy of every subvi and rename it or try to make then reentrant.
If have problems, Next week iI will try to make it for you.
Cheers
Alipio
03-19-2009 11:40 AM
Hello Alipio,
I have not had time lately to try your suggestion for using two different "time coded" signals in one LabVIEW program; shift in projects. I am now back to continue and finish this project so I should be able to attempt it later today or tomorrow. Thanks again for your help.
Brian
09-25-2009 01:46 PM
Hello Alipio,
The code works for the two devices that have this signal, perfect. Now I need to develope a program that can incorporate at least two such deivces with this signal pattern. I tried to make a sub vi on the code you had written but no luck. I made a simple program with a DAQ assistant to bring in data then connnect the data to my a signal in terminal on the sub vi. How can I make the code work so I have a sub vi, or is it easiser to modify the current code to accept two such signals. I am pushing for the sub vi because I have several 4-20mA analog signals in the program (temperature, pressure etc).
Thank you for your help!
Brian
09-25-2009 01:49 PM
09-26-2009 02:51 AM
Hello.
No problem to use the code for various channels. You have to code the processing part as a subvi and make it reentrant.
I have no Labview on hand right now, so I will try to look yor code in 2 or 3 days.
Will post back when solved.
Cheers
Alipio
10-02-2009 10:41 AM
Alipio,
Nice, thank you for your help.
Cheers and have a good weekend,
Brian
10-02-2009 01:45 PM - edited 10-02-2009 01:47 PM
Hello.
I have no labview.
I will try to get one as soon as posible.
In the meanwhile, you can try to make a subvi of processing part and make it reentrant.
Cheers
Alipio