I think you will need to change the VISA class to the PXI backplane. I recommend taking a look at the KnowledgeBase article on Programmatically Routing PXI Trigger Lines. It does a really good job explaining how to route trigger lines in both LabVIEW and text-based code.
What is the specific error you are receiving?
Thanks for your reply. I had looked at that example that you mentioned before I made this post and, although it provided some good information, it did not point me to the solution to my problem. I want to route the trigger from the front panel of an instrument in the PXI chassis to the PXI backplane, not just from one trigger line to another on the backplane. I did quite a bit of searching and could not find any examples relating to this particular situation.
For me, it doesn't make sense to change the VISA class to PXI backplane, because the trigger source [an instrument front panel] is not on the backplane. The trigger destination [PXI_Trig0] is, but not the source. If I use the instrument class and an instrument as the resource I get an error telling me that instrument class cannot be used. So, even though the documentation on this function seems to indicate that it can be used to route a trigger in the way that I want, there seems to be no way to actually do it using this function.
I spent quite a bit of time searching the Labview help files yesterday and it seems to me that the solution to my problem is going to be to use DAQmx Connect Terminal. I did not try this intially because it did not come up in the searches that I did on the NI website, Google or in the LabView help files. The only thing that I was pointed to was the VISA Map Trigger.
I am curious as to why there is not a comprehensive listing of DAQmx functions that can be referenced? It would have made finding the solution to my problem much easier.
Okay, I have tried to use the DAQmx Connect Terminal function and it is still not accomplishing what I want.
As I mentioned in my initial post, I have a PXI-1042 chassis with five modules; a PXI-8105 Embedded Controller, a PXI-6232 Multifunction DAQ, two PXI-4220 Two Channel Bridge Input Strain Gauge Modules, and a PXI-4110 Programmable DC Power Supply. I want to trigger the analog output and input of the Multifunction DAQ, and well as the analog input of the two Strain Gauge Modules all off of the same trigger.
Question 1: When I use the DAQmx Connect Terminal function, I can select terminals of the multifunction DAQ or the two strain gauge modules as trigger sources/destinations, but the front panel trigger of the embedded controller does not seem to be available to me. Why is this.
Question 2: I can trigger a strain gauge module off of its front panel trigger without any problem but, when I route its front panel trigger to PXI_Trig0 using DAQmx Connect Terminal [Source Trigger = /Dev1/PFI0 & Destination Trigger = /Dev1/PXI_Trig0] and set things up to trigger off of PXI_Trig0 the module will not trigger. Why is this?
Question 3: I also cannot get the module to trigger if I route the front panel trigger of the second strain gauge module to PXI_Trig0 [DAQmx Connect Trigger w/Source Trigger = /Dev2/PFI0 & Destination Trigger = /Dev2/PXI_Trig0. Why is this?
Is there a quicker way to get some response off of these discussion forums? I made my initial post yesterday, just before lunch my time, but did not see any reply until this morning. I replied to that posting as soon as I saw it, but I have not gotten any reply to that yet. At this rate, it willl take me a week to get just this one problem resolved [maybe]. i appreciate the help, but there has to be a quicker way to get this done.
This customer has contacted National Instruments for support and I will post back with an update when the issue is resolved.