09-07-2010 09:54 AM
I have two VI's that seperately work perfect, but combined not so much. The first VI uses USB-6009 to control pneumatics using digital outputs. There are 12 cylinders in 4 banks of 3. The second VI uses can messages to accurately show which buttons have been pressed. I want to have the program push the first 3 buttons, wait for the can response, then move on to the next back of cylinders. The reason for this is to track errors when something goes wrong. Also, any suggestions on why it runs so slow? I have to speed it up cause it misses a bunch of the messages, but like i said by itself it works great. I have attached a combo VI with both of the VI's i have mentioned. Any suggestions will be much appreciated. Thanks guys
09-07-2010 10:18 AM
@chris12345 wrote:
I have attached a combo VI with both of the VI's i have mentioned.
Try again. Your attachment did not make it.....
09-07-2010 10:21 AM
Sorry here it is again
09-07-2010 10:54 AM - edited 09-07-2010 10:55 AM
Sorry, I don't have any DAQ installed, so I cannot look at your assistants.
Some problems after glancing at the code for five seconds:
09-07-2010 11:11 AM
Thanks i will definately take the configuring of the resource. I havent spent much time with LabVIEW and not really sure what some of what u said meant. But ill fix what i can and if you dont mind take another look at it later. Im thinking about using a "for loop as the main loop" with a stacked structure inside to place in the daq assistants. Im just not sure how to tell it to read in between each bank of cylinders.