LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI HSDIO PXIe-6547 synchronization problem

Hi, I am new to Labview.

I am trying to control two HSDIO cards to generate digital signals.

I found some example codes in NI-library. (Fig.1)

In this example, They use for loop to merge the sessions signal(generate from niHSDIO get session VI) automatically.

My question is how can I combine the two session signals if I don't use a for loop function(Fig.2)?

fig1_example.PNG

Fig2.problem.PNG

 

 

 

0 Kudos
Message 1 of 5
(1,009 Views)

You just have to create an array of HSDIO session (of all cards that need to be synchronized) and feed into the TCLK API to synchronize

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(970 Views)

Thank you for your reply.

I successfully feed the secession signal into TCLK API.

But when I ran the vi program, the error occurred at niTCLK (shown as below).

Does anyone know the reason for this problem?

And how can I fix this bug?

Many thanks.

syn_error2.PNGsyn_errormessage.PNG

0 Kudos
Message 3 of 5
(953 Views)

Please share the code for review.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 5
(939 Views)

Hi Santhosh,

Here is my code.

I use labview2018 and HSDIO 18.0

I appreciate your help.

 

0 Kudos
Message 5 of 5
(932 Views)