07-24-2012 03:02 PM
07-24-2012 03:15 PM
Here's the code:
07-24-2012 04:13 PM
Is this a picture of yoru main VI or sub-VI? It would be easier if you could attach the actual code instead of a picture (LV8.2 or lower).
07-24-2012 04:18 PM
That's a picture of the main VI, actual code as in the front panel?
07-24-2012 04:22 PM - edited 07-24-2012 04:23 PM
Actual code as in your block diagram.
Edit: .VI
07-24-2012 04:26 PM - edited 07-24-2012 04:28 PM
Sorry about that, here it is:
07-25-2012 07:04 AM
File>>Save for Previous Version>>8.2. I don't have LV11.
07-25-2012 01:13 PM
Hopefully this works
07-25-2012 02:35 PM
I would use a Producer-Consumer archetecture. If the fp is something that will be accessed frequently, consider using an Event structure; otherwise, use your sub-VI to trigger the event you wish to start. Yes, you can use your sub-VI to trigger an event in your main program (P-C data or event type). There are many ways to do it. What type of signal are you trying to measure? Do you want it to trigger on a certain condition/measurement?
07-25-2012 05:50 PM
I am basically trying to replace a function generator with the PCIe-6321, and replace that trigger button on the function generator with the run button on LabVIEW. Attached is a picture of the setup I am trying to achieve.