From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

handshaking with PCI 6535 DIO

Solved!
Go to solution

hi all,

 

I am a bit confused about handshaking (8255) mode with 6535 card. I am using SCB-68 connector block with the card. So my question is really simple PFI<0..3> are the control pins fro triger and event signal. After going and reading a bit I am confussed which ones to use as triger and which one to use as event. Would be greatful if you guys can refer me to some example for handshaking in 6535 card.

 

Best  Regards

Regards
0 Kudos
Message 1 of 5
(2,799 Views)
Solution
Accepted by topic author nolsqn

Hi nolsqn,

 

according to documentation default setup is trigger on PFI0 and event on PFI1

 

Best regards,

CaravagGIO

Message 2 of 5
(2,767 Views)

Thanks a lot , I was trying with PFI3 all this time and freaking out why its not working . I will try it with PFI0 and see if it works or not.

 

Thanks a lot 🙂

Regards
0 Kudos
Message 3 of 5
(2,743 Views)

everything worked like a charm .. thanks a lot

Regards
0 Kudos
Message 4 of 5
(2,735 Views)

Hello,

 

I am using PCIe-6536 and my question is how to initialize handshaking, I assume you have similar device, so initialization should be the same

My code is 

 

// triggers
myTask.Triggers.HandshakeTrigger.Interlocked.Source = "PFI0";
myTask.Triggers.HandshakeTrigger.Type = HandshakeTriggerType.Interlocked;
myTask.Triggers.HandshakeTrigger.Interlocked.AssertedLevel = InterlockedHandshakeTriggerAssertedLevel.Low;

// events
myTask.ExportSignals.HandshakeEventOutputTerminal = "PFI1";
myTask.ExportSignals.HandshakeEventOutputBehavior = HandshakeEventOutputBehavior.Interlocked;
myTask.ExportSignals.HandshakeEventInterlockedAssertedLevel = HandshakeEventInterlockedAssertedLevel.Low;
myTask.ExportSignals.HandshakeEventInterlockedAssertOnStart = true;                                                                                ---------------------  not supported property error

// Timing
myTask.Timing.ConfigureHandshaking(SampleQuantityMode.ContinuousSamples, 4096);
myTask.Timing.HandshakeDelayAfterTransfer = 0.0;
myTask.Timing.HandshakeSampleInputDataCondition = HandshakeSampleInputDataCondition.HandshakeTriggerAsserts;
myTask.Timing.HandshakeStartCondition = HandshakeStartCondition.WaitForHandshakeTriggerAssert;                         ---------------------  not supported property error

 

As you can see I have "not supported property" exceptions. Why?

 

Thank you 

0 Kudos
Message 5 of 5
(2,514 Views)