09-05-2013 12:48 PM
Hi , I am trying to export markers on PFI0 and PXI_Trig0 on NI5450 (in the script mode)
using the following code
There are no errors when I configure using the following code.
commWrapper.ExportSignal(PXICommonGenWrapper.niFgenConstants.MarkerEvent, "Marker1", "PFI0")
commWrapper.ExportSignal(PXICommonGenWrapper.niFgenConstants.Marker, "Marker0", "PXI_Trig0")
When I run the script, I get the following error
Trigger line requested could not be reserved because it is already in use.
Property: Marker Event Output Terminal
Destination Device: PXI1Slot2
Status Code: -89126
Would appreciate any solution that enables to me configure the two triggers/markers. I use these markers to trigger another PXI card (NI5644R on PXI_Trig0) and an external piece of equipment (using PFI0 output).
Thank you.
Solved! Go to Solution.
09-05-2013 03:20 PM
Hi Surya,
Thanks for posting this on the community page. What this error is telling you is that it can't route a trigger to your requested destination because something else has already reserved that trigger line. One pottential typo is that your second ExportSignal command specifies niFgenConstants.Marker and not .MarkerEvent. This is a simple error to resolve but there are many possible sources. Is it possible for you to share the full code with me? Or,maybe you could host a join.me session and I can look at your full setup.