10-22-2009 05:10 PM
I'm kinda new to LabVIEW and have a question. I want to set up an application that starts a measure with the 3706 when it receives a pulse from another Keithley instrument (2602) over the TSP-Link connector. I have tried to set up a dynamic event structure to capture the pulse, but when the pulse occurs, it does not respond. I have checked for the presence of the pulse with a scope, so I know the other equipment is producing what I need.
Any assistance would be greatly appreciated.
Regards
10-23-2009 11:33 AM
Hi estarkey,
Have you tried highlighting execution in your code to see if the event structure fires? Also, is there a reason you're dynamically registering that event? You can use any controls/indicators on your block diagram as events without having to dynamically register them.
Where did you obtain the 3706 driver? I checked our instrument driver network and could not find these VIs
10-23-2009 12:24 PM
I have highlighted execution and it goes to the event structure and just stops. Then I can manually make the other instrument produce a pulse and it is present on the 3706, just not detected in LabVIEW. I was under the impression I would have to use a dynamic event structure to detect any event that is not an action on a front panel control. Since the pulse from the other instrument can come at any time, and I have to detect the pulse by using a VI which reads the port, I thought that this would be the way to do it.
I guess this would even be a broader problem as to how to determine any external asynchronous event, which can happen in test stand systems that interface with external hardware (loaders, hoppers, etc.). I have used the DAQ SA examples which go over this, but seeing this transferred to instruments is difficult to find info on.
Oh, by the way, I got the 3706 LabVIEW driver from Keithley's website.
Thanks again for your time Justin_E!!
Regards
10-26-2009 03:29 PM
Hey,
In looking at your program, I saw that the ke37xx TSP-Link Trigger Control.vi runs once, and outputs a value to the Channel Ready Trigger. After this VI is called, the event is registered and the event structure waits for the event. The problem with this is that the TSP-Link Trigger Control VI is never called after the event is registered, so it makes sense that the Event Structure never catches that event and just hangs. Do you want to call the TSP-Link Trigger Control once, or do you want to call it multiple times? If you want to call it more than once, you'll have to put it inside some sort of while loop.
11-02-2009 06:53 AM
11-03-2009 12:51 PM