Empirisoft Support

    Welcome to Empirisoft Support
Results 1 to 2 of 2

Thread: Using the Digital Analog Slider

  1. #1
    Join Date
    Nov 2005
    Posts
    294

    Using the Digital Analog Slider

    Attached is a .zip file containing a MediaLab 2008 experiment which uses our Digital Analogue Slider.

    The slider is designed to take position snapshots at user-defined intervals. It communicates with the host computer over a standard serial interface at 19,200 baud, 8 data bits, no parity, no handshaking.

    The slider is powered by an included 9-12v DC power supply, center positive, 200 mA.

    The slider takes position snapshots as granular as 10 per second.

    To activate the slider, send the ASCII string

    {X}

    The curly brackets are used by the slider to denote the beginning and end of a control packet, and are required. 'X' can be any number between 1 (snapshot every .1 seconds) and 9999 (snapshot every 999.9 seconds).

    To stop the slider, send the command

    {*}

    The asterisk is the 'stop' character. Again, the curly brackets are required.

    The slider can be started and stopped multiple times, and at multiple capture rates, during the same experiment:

    {1}
    {*}
    {10}
    {*]
    {1}
    {*}

    The slider can change capture rates mid-experiment as well.

    {1} <- snapshot 1/10 second interval
    {2} <- snapshot 2/10 (1/5) second interval
    {10} <- snapshot 10/10 (1 second) interval
    {*} <- stop


    MediaLab stores data from the slider in a simple tab-delimited text file called comdata.txt. This file is created when an experiment is sucecssfully completed. It contains time and position data for the slider and the two pushbuttons and stored in the 'data' folder for the experiment you're running.

    Also note that the file comport.txt must be included in your experiment file. This text file contains data relating to the COM port, baud rate, etc. If you're using a serial port located somewhere besides COM5, change this text file to match.
    Attached Files Attached Files
    Last edited by JEC; 02-26-2009 at 02:50 PM.

  2. #2
    Join Date
    Jan 2009
    Posts
    4

    How to begin using the digital analogue slider

    Does anyone know how to 1) activate and 2) operate the digital analogue slider? I looked at the Digital Analogue Slider sample zip file. However, I am having trouble activating the slider and I honestly don't know where to begin. I've connected the slider but it's not activated. It seems that there is a lot of syntax involved. I also don't know which port I am using. I am not tech-savvy and I work well with step-by-step instructions. It would be so great to hear from someone today as I am beginning an experiment on Monday using the slider. Can anyone please help me out?

Similar Threads

  1. visual analog scale (VAS)
    By lncs in forum DirectRT Older Versions: How Do I...
    Replies: 11
    Last Post: 09-20-2010, 04:35 PM
  2. Visual Analog Scale
    By iwonat25 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 01-30-2009, 02:51 PM
  3. Modifying slider
    By akr in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 04-02-2008, 04:37 PM
  4. How to Use Empirisoft's Digital Analogue Slider
    By JEC in forum Hardware Questions
    Replies: 1
    Last Post: 07-07-2007, 09:16 PM
  5. Visual Analog Scale (VAS)
    By jarvis24 in forum MediaLab Older Versions: How Do I...
    Replies: 1
    Last Post: 11-09-2006, 03:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •