Has anyone successfully caputered a Trigger event in VEE from the external trigger function on the 34980A? As far as I can tell there is not an actual event created in the drivers or software.
Currently we have an external trigger wired up directly to the 34980A. In VEE I can configure the reading trigger to wait for the external trigger (as long as it doesn't timeout, which is most of the time). If I use the Agilent Benchlink software I can get the readings to trigger based on the external trigger (w/ 34980A controlling readings) with no timeouts.
What I would like is to have that external trigger on the 34980A trigger some software event so I can react to the button push using the VEE software so I can have it do some specialized tasks...
Anyone ever had this work?
Thanks,
Greg
Currently we have an external trigger wired up directly to the 34980A. In VEE I can configure the reading trigger to wait for the external trigger (as long as it doesn't timeout, which is most of the time). If I use the Agilent Benchlink software I can get the readings to trigger based on the external trigger (w/ 34980A controlling readings) with no timeouts.
What I would like is to have that external trigger on the 34980A trigger some software event so I can react to the button push using the VEE software so I can have it do some specialized tasks...
Anyone ever had this work?
Thanks,
Greg
I have created a WaitForTrigger UserFunction which does the following:
- Agilent34980AClass.Trigger.Configure(Agilent34980ATriggerSourceExternal,1,0,1)
- To setup the 34980a trigger settings
- Agilent34980AClass.Measurement.Initiate()
- To tell the 34980a to wait for a trigger
- Then I loop until (readingcount = Agilent34980AClass.Measurement.ReadingCount) > 0
- This waits until the external trigger is pressed and a reading is stored in the 34980a buffer
- Agilent34980AClass.Trigger.Configure(Agilent34980ATriggerSourceImmediate,1,0,1)
- To setup the 34980a to take immediate readings (ignore trigger)
Then when this process finishes the VEE program can do whatever it likes. This process wastes the reading from the trigger but I couldn't find another way to do the same task... It looks at built the External Trigger can only affect the 34980a directly.
Hope this helps,
Greg