How to find the FTDI command to switch the relay?

Hello

I have a USB to serial relay I have a stand-alone .exe file that runs very well. It is a GUI that you can click on the buttons and it turns the relay on or off.  I want to automate it but there is not documentation.  I can't understand what command to send it to toggle the relay.  How would I go to do this?

I tried some time to enter programming just loop the next integer value in, to see if I could already see a change... but so far nothing.  I don't know what I'm missing.  I use NI-VISA to communicate with him, and he seems to connect, I get a return value of the entry VISA.

Any ideas?

John

You can write your channel control-click, and then select display Hex. You can take an integer and who catalogued into a string. You can have a picture of U8 and use the array of bytes to the string function.

Tags: NI Hardware

Similar Questions

  • How to find the host ESX 4.1 SCSI tape drive card information...

    Dear team,

    last night we have installed card scsi tape drive on one of the host to ESX 4.1, just want to know how to find the details of scsi card in ESX 4.1 host, is possible to find via cli or hardware status tab?

    need help on the same.

    concerning

    Mr. VMware

    Hello

    You should find the information you are looking for by entering the following command.

    less/proc/scsi/aic79xx/6

    Kind regards

    Ralf

  • How to find the track of the script of the Controlfile Correct .trc file in /bdump

    Hi guys

    It's more childish requests in this forum...


    I want to know how to find the correct trace file when we question change database trace at sqlprompt to create controlfile script backup controlfile.

    As I find it a little confusing to go through the same day & .trc files almost even among hundreds of trace file in the directory /bdump to find the right one.

    If we find the alert log file in /bdump directory $ ls-al l * & get us the log file alert... If there's a similar way to find the Trace of controlfile script file?



    Thanks and greetings
    MZ

    Hi MZ;

    1. as mentioned here to use a BACKUP CONTROLFILE to TRACE AS syntax and give the name and the path that you want to
    2. check the alert.log
    3. check under bdump using the command ls - lrt

    PS: Please don't forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding

    Respect of
    HELIOS

  • How to find the number of users connected to the database of the level operating system (Linux)

    Hi all

    Could someone knows how to find the number of users connected to the database without connection with sql * more

    y at - it a command to find?

    example, we have 10 databases in a server, how to find the number of users connected to the special data base without connecting to database(v$session)?

    the Oracle version:-10g, 11g
    Operating system:-OEL4, OEL5, AIX, Solaris

    any help will be appreciated.

    Thanks in advance.

    Thank you.

    Kind regards
    Rajesh.

    but you can say total number of connection with the above given the command? It would also be useful to know.

    See you soon,.
    LKM

  • How to find the SCP to a java card

    Hello

    How will I know if a java card uses SCP01 and SCP02?
    Because I read the respose data returned by the Init setting command suite updated map, but it comes to send back more info back to entity of off - map:
    Main data of diversification 10 bytes
    2-byte key information
    Challenge map 8 bytes
    Cryptogram of card 8 bytes

    And in the same GP2.2 E.1.2.1 , it is written that
    This cryptogram of the card as well as the meter of the sequence, the challenge of the card, the secure channel protocol identifier,
    and other data are sent to the entity of off - map.
    I want to know how to find the SCP protocol identifier?

    In addition, it is written that:
    As the entity of off - map should now have the same information as the card used to generate the cipher of the card.
    It should be capable of generating the same session key and the cipher card even and performing a comparison.
    It is able to authenticate the card.

    Can someone explain please how to generate these keys and check the card?

    Thank you

    Umer says:
    I also found that the SCP is found in the Init-setting control response to date.

    It's also a good way to get the PCs?

    Yes. That's what I use. It does not give you the value of i (current hit is I = 15), but this is not a very big deal in practice (in my code anyway).

    See you soon,.
    Shane

  • says that there is an update of firmware available for my 3 t time capsule. I get "an error occurred when downloading". How to find the problem?

    I said that there is an update of the firmware available for my 3 t time capsule. I get the message "an error occurred when downloading". How to find the problem? I have elcapitan 10.11.6 and capsule version 7.7.3

    Try temporarily, connect your MacBook Pro to your Time Capsule using an Ethernet connection... If not already, then try downloading the firmware again.

  • How to find the serial number of the processor in the MacBook pro s serial number? I have a dead MacBook that was given for service to a third party. I doubt that they have replaced the original parts. Help, please. Thank you

    How to find the serial number of the processor in the MacBook pro s serial number? I have a dead MacBook that was given for service to a third party. I doubt that they have replaced the original parts. Help, please. Thank you

    As far as I KNOW, the serial number of the MacBook does not have the serial number of the processor.

  • I make new the old id must paasward wen apple id I go passward, says your id or passward not at even I have received emails but get no email how to find the solution, I, m stuck wat to do

    I make new the old id must paasward wen apple id I go passward, says your id or passward not at even I have received emails but get no email how to find the solution, I, m stuck wat to do

    Have you tried to reset it in security issues? If you are not able to do so, contact Apple support so a security identifier Apple Advisor can help you. 800-275-2273.

  • How to find the date item was my favorites on Mozilla Firefox

    on system moot bookmark how to find the date of the bookmark?

    In bookmarks menu select organize bookmarks to open the bookmarks library. In the bookmarks library, click views, and then display the columns and then added. This will display a column showing when a bookmark has been added.

  • How to find the owners of icloud id?

    IM new to this thing from icloud, I bought 3 old ipads2 on a flea market, where unlocked 2 but we have icloud, the screen is not the old owner alone info [email protected], I don't have a problem, try contacting the owner, but how to find the id of owner? even if is a stolen ipad that I'll be more than returned gad, or ask the owner to remove icloud, but without the owner info is difficult, any advice will be apreciated, thanks

    You can not find it. Go back on the market and claim a refund for the iPad.

    (140442)

  • NB200 - how to find the 3G module for it?

    Hello

    Pls how I find the 3G module in my NB200 - PLL20E?

    Thank you

    Hello

    What do you mean exactly?
    You want to upgrade your NB200 with a card 3G?

    If yes then you must make sure that your NB200 could be improved using this card.
    I'm not sure if this is possible.

    But don t give up boyfriend Toshiba authorized service partner in your country could provide details.
    Guys might be able to tell if this is possible and could provide a good 3G module

    If you get more details please share with us!

    See you soon

  • How to find the yahoo flickr Photo password used to download photos from the Photo app?

    I have 151 000 pictures on Flickr that were loaded from Iphoto, then more recently the Apple Photo app on my imac.

    I can't open a session using a browser because the browser (Chrome) has lost the password of his records.

    How to find the password that the Photo is using app?

    You can not extract the code to access from iPhoto or Photo. I could go to the Web of Flickr site and see what password recovery options they offer for your account.

  • How to find the webcam on my hp g56122us note windows 7

    How to find the webcam on my computer vision g56122us hp laptop? I can't get my webcam so I can make a video or take a picture. I have no idea how to do so that he could appear on my screen

    Hello

    Please use it to check & difficulty:

      http://support.HP.com/us-en/document/c02452221     

    Links for XP & Vista are here also.

    Good luck.

  • How to find the velocity of an incremental encoder

    I use the RE22I encoder which can give up to 8192 pulses per revolution, I have A, B, Z reports that I use an fpga as a controller Please help me.

    How to find the speed of the encoder using these signals I'm going to have a clock in the fpga sysytem will help.

    Start by looking at the information on Wikipedia on the rotary encoders and a book on encoders OR white.  These articles will give you a basic understanding of the encoder and the signals it produces.

    With proper decoding, you can get the direction and momentum of each of the points on your encoder 8192.  If the tree can reverse (same vibration on one point unique all-in-mnearly stationary), full decoding must be used.  If data are only of interest while the tree turns in a direction and speed will not close to zero, a simple decoding can be used.  Decoding of a quadrature encoder is a good way to learn to use a state machine.  Signals A and B can exist in only four possible combinations, but the possible transitions to do interesting things.

    Define DECODING is a purely logical exercise and it is a simple coding in LabVIEW, such as a state machine.  There are examples, Desing Patterns, or project templates (depending on your version of LV) that come with LV to help you get started.

    By using the channels A and B you can update your calculation of velocity 8192 times per turn.  With the help of Z you get only an update by the revolution. You use depends on your application.  The pulse of Z is also useful to define a reference position for the measurement of phase angle.

    Lynn

  • How to find the number of data items in a file written with the ArryToFile function?

    I wrote a table of number in 2 groups of columns in a file using LabWindows/CVI ArrayToFile... Now, if I want to read the file with the FileToArray function so how do I know the number of items in the file. during the time of writing, I know how many elements array to write. But assume that I want the file to be read at a later time, then how to find the number of items in the file, so that I can read the exact number and present it. Thank you all

    Hello

    I start with the second question:

    bytes_read = ReadLine (file_handle, line_buffer, maximum_bytes);

    the second argument is the buffer to store the characters read, so it's an array of characters; It must be large enough to hold maximum_bytes the value NULL, if char [maximum_butes + 1]

    So, obviously the number of lines in your text tiles can be determined in a loop:

    Open the file

    lines = 0;

    While (ReadLine () > 0)

    {

    lines ++;

    }

    Close the file

  • average of k: how to find the data clustred; : or how to assign number t0 each data group

    Hi Member

    I have download the LabVIEW Machine https://decibel.ni.com/content/docs/DOC-19328 learning package

    I want to run the K average algorithm to group the image in a group of two or three or more

    the problem is how to find the result I mean the image of clustred', the image that contain 2 or three threatened value only

    or how aasign a 1 value for all the intesity who

    belong to the cluster a and 255 for data that belongs to group 2

    for the look of the image as binary image?

    a my vi below

    Best regards

    my post before shows how to set the threshold manually using the slider of the graph.

    Here is the version k-means automated help .vi box tools

    Alex

Maybe you are looking for