NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
WagnerD
Posts: 2
0 Kudos

SCOPE5122 Export Signal with Class Library 1.1.1

Hi,

 

I am using the class library 1.1.1 to control a NI-PCI Scope 5122 over c#.net.

 

I have to synchronise with pulse generator over the export signal (PFI_0)

 

-> there is my problem

 

how can i trigger the PFI_0 over the class library 1.1.1

 

i found the ExportSignals object as property of a session object, but i dont understand how i configure it to raise trigger

this.internalSession.ExportedSignals.EndOfAcquisitionEventOutputTerminal = "";
                this.internalSession.ExportedSignals.EndOfRecordEventOutputTerminal = "";
                this.internalSession.ExportedSignals.FiveVoltOutputTerminal = "";
                this.internalSession.ExportedSignals.ReadyForAdvanceEventOutputTerminal = "";
                this.internalSession.ExportedSignals.ReadyForReferenceEventOutputTerminal = "";
                this.internalSession.ExportedSignals.ReadyForStartEventOutputTerminal = "";

 

 

thanks for your help

Member
Michael.F
Posts: 19
0 Kudos

Re: SCOPE5122 Export Signal with Class Library 1.1.1

hi,

 

do you have to sync your pulse generator with your scope card, or can you do it just the other way? I mean, to trigger your scope with the pulse generator. 

If you can do it this way, you just can look at out examples and trigger from the PFI_0 or the TriggerInput of your scope.

 

You find the example Start»All Programs»National Instruments»NI-SCOPE»Examples».NET 3.5 Languages Support -> ScopeSynchronizingUsingTClock

 

-Michael F.

Member
WagnerD
Posts: 2
0 Kudos

Re: SCOPE5122 Export Signal with Class Library 1.1.1

hi,

 

thanks for your help.

 

i have to start the pulser when starting the aquisition of scope card. -> so the pulser waits for external trigger input of scope card (PFI_0)

 

i found a working solution with plain native dll invoke.

 

Dominik

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page