VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set signal polarity for TRG signals routed thru a VXI Slot 0 ctrlr.

We are routing a signal from FP TrigIn to BP TTLTRG0. This works fine under nominal conditions. However signal polarity through the Slot 0 ctrlr is reversed if ResMan is executed more than once.
This results in an equipment hazard and a personal safty issue on our test station. Since ResMan is a standalone application there is no reliable way to block user access to ResMan.
The safest solution would be to directly set the signal polarity using a software call (to NI-VXI, etc). This would ensure that polarity is as required even under off-nominal conditions. There are no documented methods to perform polarity control. I am hopeful that you can tell how to set this signal polarity thru a back
door or direct register access.

Randal Bailey
Systems Engineering
603.885.9254
randal.r.bailey@baesystems.com
0 Kudos
Message 1 of 5
(6,012 Views)
Randal,

I assume that you have a vxi-mxi-2 board and want to know if there is a command to set the signal polarity when mapping a signal from the TrigIn to one of the TTL trigger lines on the backplane.

If this is the case, please see the following:

With NI-VXI 2.x, it was possible to inverse the TRIG IN signal internally before mapping it to the TTL trigger line using either TrigExtConfig or MapTrigToTrig. The Trigger Configuration Functions were supported under NI-VXI 2.x, but are no longer supported under NI-VXI 3.0, 3.1, 3.2.

Currently, NI-VXI 3.0, 3.1, 3.2 supports the function MapTrigToTrig() from the NI-VXI API and its NI-VISA equivalent function viMapTrigger. Under NI-VXI 3.2, not all of the features of these two functions are supported. However,
in future versions of the NI-VISA and NI-VXI driver, the argument "mode" of the function will be supported. This argument allows to invert the signal that comes from a trigger before mapping it to a TTL tirgger line in the backplane of a VXI chassis.

For more information on trigger mapping and inversion, please see:

How to Map Triggers Using VXI-MXI-2 and NI-VXI 3.0, 3.1, or 3.2: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/b05466083f58dba686256a9a0070e0c5?OpenDocument

NI-VXI User Manual: http://digital.ni.com/manuals.nsf/websearch/80462709452087E98625665F00700049?OpenDocument&node=132100_US

NI-VXI Programmer Reference Manual: http://digital.ni.com/manuals.nsf/websearch/4C95BFE19CAFE4248625665F0070B146?OpenDocument&node=132100_US

NI-VISA User Manual: http://digital.ni.com/manuals.nsf/websearch/266526277DFF74F786256ADC0065C50C?OpenDocument&node=132100_US

NI-VISA Programmer Reference Manual: http://digital.ni.com/manuals.nsf/websearch/10955BAA9
92050E386256ABF005AE1AC?OpenDocument&node=132100_US
0 Kudos
Message 2 of 5
(6,012 Views)
Steve,

Unfortunatly the answer appears to NO, there presently is no way to set signal polarity of a signal going thru the slot zero controller (TrigIn to TTLx). I was only persuing this as a work-around anyway. Frankly I would prefer to see ROOT CAUSE of this problem addressed instead.

ROOT CAUSE
I would like to reiterate the problem-statement in my first question which I think was missed:

THE EXECUTION OF TWO SUCESSIVE RESMANs CAUSES SIGNAL POLARITY TO REVERSE.

This is a bug. It may seem inconsequencial and easily corrected by a complete system reboot. However in our case this is a dangerous bug which I cannot protect against. This problem is actually forcing us into a redesign to protect human life.

The best solution would be if Trig
In polarity DID NOT become indeterminate on a second instance of ResMan.

Randal Bailey
Systems Engineering
BAE SYSTEMS
0 Kudos
Message 3 of 5
(6,012 Views)
Randal,

I'm going to look into this a little more and I'll let you know what I find out.

Steven Wells
National Instruments
0 Kudos
Message 4 of 5
(6,012 Views)
Randal,

Running Resman should not affect the mapping of triggers from the backplane to the front panel.

What hardware are you using? I would like to replicate this here?

Also, how are you measuring the polarity (with a DAQ board)?

Go ahead and let's start using the email for this. Email me at support@ni.com

I'll respond to you there. We may have a solution for you.

Thanks.

Steve
0 Kudos
Message 5 of 5
(6,012 Views)