Jump to content
  • 0

Card Synchronization (USB-1608-FS-Plus)


pawelkocwa

Question

Good morning everyone,

I am trying to connect two 1608 FS Plus cards. However, I would like to connect them in such a way that the synchronisation is continuous (so that there is no problem with time dilation). In the basic program (DAQami) I am not able to find these options.

The questions:

  1. Is there such a function in the Python/Matlab drivers?
  2. Where can I possibly find documentation for these drivers?

Best regards

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

Hi

I'm trying to do the same in Python but maybe I have an issue with the DAQs.

Outside Python you do it with InstaCal, double click one board and enable SYNC output. The pin on the board is the 36, connect the two boards. 

In Python (and it works with the 1808X) is:

from mcculw.enums import ScanOptions

slave_scan_options = ScanOptions.BACKGROUND | ScanOptions.EXTCLOCK
master_scan_options = ScanOptions.BACKGROUND

ul.a_in_scan(board_num, low_channel, high_channel, total_count, sampling_freq, ai_range, memhandle[0], slave_scan_options)
ul.a_in_scan(board_num, low_channel, high_channel, total_count, sampling_freq, ai_range, memhandle[1], master_scan_options)

it's a minimal example, I can attach my full script but I don't know if the problem is the script itself or the DAQs (they are broken maybe). So, consider it as incomplete, if it works, let me know. 

1608FS_CLK.py change the master name and run it with the options:

-st ST      sampling time [s] (default: 1)
-sr SR      sampling rate [s] (default: 50e3)
-lc LC      low channel (default: 0)
-hc HC      high channel

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...