Programming DAQs using FlowBotics Studio & FlowStone | RobotShop Community

 

In this tutorial we are going to cover Data Acquisition boards (or DAQ’s as they are better known) and how to program them using FlowBotics Studio which uses the FlowStone graphical programming language inside.

Data acquisition devices form the basis of most robotics systems obtai


This is a companion discussion topic for the original entry at https://community.robotshop.com/blog/show/programming-daqs-using-flowbotics-studio-amp-flowstone

I have recently bought a copy of flowstone and would like to use it to log and manipulate data from Measurement Computing 1208-FS & MC-1608-FS devices. Is it possible to change the sample rate and input range using the I/o input string - if so how?

It is possible to change the input range using the ‘R’ command. The command is used as follows:

“RiTYPE”

Where R indicates a range change, i is a digit between 0 and 7 inclusively representing the index of the port and TYPE is from the following table:

±10V BIP20VOLTS
±10V BIP10VOLTS
± 5V BIP5VOLTS
± 4V BIP4VOLTS
± 2.5V BIP2PT5VOLTS
± 2V BIP2VOLTS
± 1.5V BIP1PT25VOLTS
± 1V BIP1VOLTS

For example, if I wish to change the range of port 3 to 2.5V, I would send the following string:

“R3BIP2PT5VOLTS”

The sample rate is currently hard-coded into the MC-1208-FS & MC-1608*-FS objects and set at once every 1/100th of a second (every 10ms).

Hope this helps,