03-28-2008 05:07 AM
03-31-2008 04:31 AM
03-31-2008 10:03 AM
03-31-2008 11:03 AM
Hi Cazza,
Thanks for that its a great help. So just to clarify so that I am on the right tracks here, you wish to:
1) Output a variable analogue output voltage on AO1
2) Have the option to switch your signal to AO2 using a front panel switch in LabVIEW
3) Control a relay from a DIO port (it would have to be powered externally probably) by entering a time to be closed then press a button on your LabVIEW front panel to activate it.
4) Have the option to trigger the relay DIO from a LabVIEW application on a remote PC instead of the local button suggested in point 3
Is this correct? Please let me know as if so, I have a few ideas on how this can be achieved.
Best Regards,
Ian
04-01-2008 08:41 AM
04-01-2008 10:21 AM
04-01-2008 12:07 PM
04-04-2008 05:29 AM
04-08-2008 10:38 AM
04-09-2008 04:03 AM
This has been implemented in the attached
code. You were having a problem because LabVIEW was stuck inside the single
while loop you had and never updated the indicator called "trial". By
moving any code you wish to run in parallel into a parallel while loop, LabVIEW
intelligently multithreads the application causing both loops to iterate in
parallel and your "trial" indicator to update.
Hope this helps,