RS 232 communication with a projector

Hello! I work in communication with my prjector. The controls are pretty simple, just PWR it for OFF\r PWR to turn off and LAMP? How many hours have the lamp worked \r to land the aircraft. So I just used the example of the writing/reading series with labview, but had a few problems.

1º) it works but it keeps giving me an error, I can't handle. Is the current operation of visa wait time. I tried it here and all the people say something on the lines of commands, but I put them and set up in the port, so I don't really know how to handle this error. Another thing, it is how can I put \r or 0xD for my end of just the default write command?

2º) how can I make my request just be an exe that you don't have to press ' EXECUTE ' always to use it?

3º) my last question is to ask questions about how to manage this thing, I need to read used with the control LAMP lamp hours?, and projector will answer me with something like: LAMP = xxx. How to handle this response to send it via TCP/IP? Should I have to create a new variable or something? I mean, I just need with another application in order to power switch of the projector via tcp/ip and calling hours of lamps via TCP/IP, so I don't really know how to handle. Thanks for all the peoples and let me know if you need more information, I'm not native English sorry for my mistakes.

Edit: I forgot to put my vi.

1. you will obviously get a timeout when you send the commands that do not generate a frequency of the instrument. Only do a reading when you send the LAMP? interview and to automatically send \r, set the stop to "0 D" character.

2. you have the app Builder to create an exe file. In order to make the VI automatically running, go to the properties of VI > execution and check "run then '.

3. I do not understand. First, you talk about RS - 232 and now you want to convert this TCP/IP communication VI?

Tags: NI Hardware

Similar Questions

  • My ipad 3 has stopped communicating with my airport extreme.

    My ipad 3 has stopped communicating with my airport extreme.  I rebooted, both so that made a network reset on the ipad.  He sees the airport but does not connect.  It will work on the personal hotspot on my phone.

    Hello

    If your ipad works with a hot spot that's the Aiirport is the problem

    Go to the Apple Web site

    support. Apple.com

    You may need a software update for airport how old is this do you have another

    Router, you can try?

    See you soon

    Brian

  • I removed Applian freecorder in my programs, but I find myself with a toolbar of community with a button for Freecorder help page. How can I get rid of this, preferably on the entire toolbar

    I installed and now have uninstalleda Applian program (freecorder I think) but find myself with a toolbar of community with a button leading to the theFreecorder help page. I don't want the additional toolbar or button. How can I get rid of him? I tried to remove and reinstall Firefox, but this has not done it.

    Hello

    Please try to go to Tools (or Alt + T) > modules, Extensions , click on the left and if it is listed on the right, delete it. Otherwise, you will need to go to Add/Remove Programs in the Control Panel of BONE and remove it from there.

  • Need help setting up with a projector.

    Hello
    I have a M30X & seem to be unable to set up for use with a projector. I can get it to show the theme of office & my pointer of the mouse on the projection screen, but nothing else. I don't see any program on the projection screen & I want to use it to make PowerPoint presentations. I tried all the basic tips including the wizard, but no luck! Help please.

    Hello Lizzie

    It's very strange that there is no possibility to see any program started on projector. As far as I know if PowerPoint contains some copy protected files, it is not possible to be shown.

  • DASYLab is not communicating with the hardware dbk25a3

    Hello:

    I'm trying to troubleshoot a high pressure processing equipment. This system uses a PID controller. The level of pressure does not stop at the set point, but continue to increase. I am trying to solve this problem. As the program was written by someone else and there is no documentation on what each represent module and done. It is very difficult for me to solve the problems. Therefore, I decided to start all over again with my own module.  However, I have a problem. My hardware (DBK25 and others) is not communicating with the module of Dasylab. I tried several different things, that nothing seemed to work. I get this error.

    DBK25A3O

    An entry of a module is open.

    Any help is highly appreciated

    Thank you

    Krishna

    The error message indicates that you have a module that has one input open - nothing is connected. You must have a data wire to all entries.

  • SPI Communication with PIC24HJ256GP210

    Hello

    I need make the SPI Communication with hardware PIC24HJ256GP210 in LabVIEW 2010 with NI USB 8451.I want to send 8 bytes data and receive data of 8 bytes of PIC. I'll send data byte-by-byte change the signal of the chip Select (CS). Before you send the data I will send ENQ (mark 3A) to check the status PIC, then after receiving ACK (Acknowledge as A1), I will send the data packet.

    My test procedure indicated below,

    • Setting clock polarity at zero (LOW idle), a second Edge clock Phase) and the clock frequency of 1 MHz to device NI USB-8451

    • 3 sending data (ENQ) and followed meaningless data byte by byte, also change state Chip Select

    • No explicit deadline has provided since the sending of the API takes 20msec to run

    • Receive the acknowledgment of receipt (A1) of the sensor

    • Send DataPacket [Eg: A5, 03, 02, 00, 00, A6, 2 c, DD] byte by byte, also changing chip select signal

    • No explicit delay gave between each byte from API takes 20msec to perform sending

    • Send 8 bytes , which means less data byte-by-byte, and receive byte-by-byte data PEAK

    • Received all of the data of 8 bytes with an incorrect value

    If please review my test procedure and give your comments if you have worked with SPI or if you have any input for my query.

    Thanks in advance.

    Note: Tie my code with this mail for your reference.

    Kind regards

    Nicolas.

    Hello O_Proulx,

    Thanks for your reply.

    Communication SPI after sending the data we send again meaningless bytes, which equals how many bytes we would like to receive the answer System.So we cannot read the data in the same VI as you mentioned in the code.

    My problem has been resolved. Byte meaningless, I need to send the file HEX .beacuse 'AB' has been developed in this way.

    Kind regards

    Nicolas.

  • Checking the status of communication with NI DAQmx or NI6143

    Hello world
     
    I'm working on checking the status of communication with NI DAQmx or NI6143 in Microsoft Visual Studio 6.0 C++ on Windows XP. The communication situation is checked between the DLL and the NOR-DAQmx/NI6143. I wonder what is the command for the control of communication for NI DAQmx or NI6143, and if there is no code available. Any suggestion or advice is greatly appreciated.

    Thanks in advance.

    There are many examples available on your computer that install with NI DAQmx. For examples in C/C++, follow the steps listed in this white paper:

    http://www.NI.com/white-paper/6999/en

    If you are new to data acquisition, that I suggest using LabVIEW. LabVIEW has several examples to begin to use a data acquisition equipment. To find them, open LabVIEW and select help > find examples... > Input and Output material > DAQmx.

    As a note of clarification, NI DAQmx is the driver used to communicate with your device (NI 6143). You do not communicate with OR-DAQmx itself, but use it to send commands and receive data from your device.

    Cameron T

  • Problem with getting communication with old instrument GPIB-ENET/100

    Hello!

    I'm trying to get my program in VB.net to communicate with an older instrument (Infratek 305 A, measure of power) via a GPIB-ENET/100 device.

    The manual of the instrument does not say what GPIB standard, it supports, but the instrument is detected by the measurement and Automation Explorer.

    Detected by that I mean that MAE has detected an instrument located on the right GPIB address, but indicated identification is the output measure instrument string

    instead of the name of instrument (as shown for some more recent instruments of Agilent).

    When I run my application, I followed the communication with NISpy.

    Configuration of the device seems to work and I present only once in the program.

    The problem is reading data from the instrument. Whenever I read the data, I get a correct string of the instrument. But the problem is

    I get the same data in two consecutive and all readings first after that I get new data and also these new data are received in two consecutive readings.

    According to the manual of the instrument the instrument generates the data as follows:

    "A row of data ends with CRLF. The instrument can send multiple rows of data. "When all of the data transfer is complete the EOI (end or identify) is sent.

    My endpoint settings are:

    Send EOI to write complete: YES

    Terminate read on EOS: No.

    EOS byte: 2

    8 bit EOS compare: YES

    Define EOI with EOS on write: No.

    How can I configure the GPIB-ENET/100 to work with my instrument?

    Here are som NISpy logs:

    # Configuration #.

    61 ibwrt(UD3, "C0C2C4C8..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.671 call duration 00:00:00.079
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    62 ThreadIbcntl()

    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.750 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    63 ibwrt(UD3, "K0K3K5K9..", 10 (0xA))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.765 call duration 00:00:00.125
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    64 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 10 (0xa)

    65 ibwrt(UD3, "F14F18F24..", 11 (0xB))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:43.890 call duration 00:00:09.250
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    66 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:54:53.140 call duration 00:00:00.000
    ibsta: 0 x 100 iberr: 0 ibcntl: 11 (0xb)

    ### LU ###

    437 ibrd(UD3, "*AC/1.0A480V/...", 1024 (0x400))
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.484 call duration 00:00:00.094
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    438 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    439 ThreadIbcntl()
    PID: 0x0000113C Thread ID: 0x000008B4
    Departure time: 13:58:52.578 call duration 00:00:00.000
    ibsta: 0 x 2100 iberr: 0 ibcntl: 225 (0xe1)

    Hello!

    I don't have the opportunity to test with other controllers.

    However, I found a solution to my problem.

    The instrument should output 4 lines of data.

    L1 - line with comments

    L2 - line with current values

    L3 - line with the values of voltage

    L4 - line with power values

    The first line of the reading stops the instrument of implementation of additional measures.

    The measurements in the instrument began reading the last line of data (L4)

    The problem was that the instrument for a reason any also released a fifth line, which was empty.

    Read this line 5' th stopped the instrument again.

    By configuring the HW to finish reading on EOS, with EOS PMQS, the value byte, I could read the

    buffer of the instrument with a line output instead. This way I could read just L1 - L4

    and the instrument could work again.

    Next time I should read data from the Instr. first of all, I would like to read the empty line, then

    L1 - L4.

    Why the outputs Instr. an additional empty line will be left not resolved.

    My problem is solved.

  • Modbus communication with a piezoelectric dynamometer

    Hello..!

    I am a new user of LV and I try to communicate with a piezoelectric dynamometer in modbus RS232.

    After you install NI Modbus Library, I created a master VI with labview 8.6 using these libraries and I can get communication with scale, these values are added in the registry U32Bit 1 and it's good, if I press a load cell, I can see the values exceed. (from 0 to 65535). Now, I want to show on the front the weight in KG, as the decimal separator, for a proper interpretation of the value for my client, so I added a block table to unbundle that I convert a value with I32Bit (-32768 a 32768) with a flag, but I don't see not all values...

    I guess I did something wrong (conversion), I read a few KB, but I do not see a solution...

    Can someone give me a link or information to show me an example to convert this value... ?

    Thanks in advance for any help to...

    Configuration of master VI:

    Read now register

    Address starting 2012 (query to get the net value of the load cell)

    Quantity 1

    Slave address: 1

    RTU

    9600

    3 com

    parity none

    Can you post some examples of bytes you receive from the Modbus read and you expect that these values are?  It's probably just a matter of the right of casting, or the number endianism, or operation of scale that must be done.

  • Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.

    Dell Inspiron 531 is not communicating with the Dell AIO 926 Photo printer.  Maintains documents in the print queue and print them when the computer is restarted.  In addition, the computer does not recognize my Promaster digital converter when I plug it into a port.

    Hello

    Thanks for posting in the Microsoft Community Forum, please be assured that we would do our best to help you.

    Please answer the following questions that would help us provide a better solution.

    What version of Windows are you using?

    Try to follow the steps and check:

    Step 1:

    Visit the link following if you are using Windows 7.

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    If you are using Windows Vista, see the steps mentioned in the link.

    http://Windows.Microsoft.com/is-is/Windows-Vista/troubleshoot-printer-problems

    Try the steps from the link following if you are using Windows XP.

    Resources for the resolution of the printer in Windows XP problems

    http://support.Microsoft.com/kb/308028

    Step 2:

    Try to activate the devices associated with the Dell printer and disable the rest by performing the clean boot, once done try to print.

    You can start Windows Vista or Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts. The following article explains how to solve problems in Windows Vista or Windows 7 by performing a clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: Put the normal computer as mentioned in step 7 of section.

    Step 3:

    About the issue with Promaster digital converter try to connect to another USB device or run the fixit and check:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Please feel free to respond if you have any other questions, we would be happy to help.

  • Games on the Internet give the error "a network error occurred during communication with the game server. "Error code: 0 x 80041006.

    I ran the System File Checker tool analysis. Response has been no problem with the configurations. Also, I did uninstall and reinstall. I keep getting the message: "a network error occurred during communication with the game server. "Error code: 0 x 80041006 ' this error message occurs on all the computers I own.

    Actually, no, the answer in the links were also less than helpful... suggested this, that.  Things that I had already done b4 posting my question.
    More funny: after that I posted my comment about the fault is not not in my machine and those of thousands of others, but in MS, spades servers suddenly started working again.  Coincidence? No doubt, but still...

  • My laptop has stopped communicating with my CD/DVD drive

    Why my laptop stopped communicating with my CD/DVD drive, D drive?  When I put a CD in the player it swirls, light comes on, but there is no indication on the screen. I bought an external CD/DVD drive that plugs into the USB port, but he did not see anyone.

    Hello

    Glad to know that you have addressed the issue. Your efforts to solve this problem is appreciated. Please do not hesitate to answer, in the case where you are facing in the future other problems with Windows.

  • My hp c4500 Wireless will not print. Troubleshooting says my printer is not communicating with the router.

    MY hp c4500 wireless printer will not print. Troubleshooting says my printer is not communicating with the wireless router. I've checked everything. Unable to find the answer.

    Hello

    As OEM HP is responsible for the good operation of the printer and their drivers. Check with
    HP support, their documentation online and drivers and ask in their forums.

    Good luck, you need to update or reinstall the latest driver.

    Support HP & drivers
    http://welcome.HP.com/country/us/en/support.html

    Contact HP
    http://welcome.HP.com/country/us/en/contact_us.html

    HP forums
    http://h30434.www3.HP.com/PSG/

    =============================================

    The main issue is probably the drivers, but these can help:

    Add or remove a printer
    http://Windows.Microsoft.com/en-us/Windows-Vista/add-or-remove-a-printer

    Solve printer problems
    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-printer-problems

    Open the printer Troubleshooter
    http://Windows.Microsoft.com/en-us/Windows7/open-the-printer-Troubleshooter

    Find the manufacturer's Web site
    http://Windows.Microsoft.com/en-us/Windows-Vista/find-a-printer-manufacturers-website

    Find and install printer drivers in Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/find-and-install-printer-drivers

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Dell v313 printer - my printer is not communicating with my computer - I need enable two-way communication in the printer properties

    My printer is not communicating with my computer. He always tells me to activate the two-way communication option in the printer properties dialog box.

    How can I do this?

    MichaelMcQuillar,

    Please check your virus protection and firewall. They seem to block communications from the printer.

    Rick

  • Computor stop communicating with the wireless printer

    My computor Asus seems to have stopped communicating with my HP printer / scanner today, when I run convenience store he tell me the printer is offline. We changed anything. He has worked in the last two years very well.

    Hello

    What is the model number of the HP printer?

    You can try the following and see if they help.

    Method 1: Try to set the printer online.

    a. open the start menu and click on the "devices and printers". This will open a window with a list of the printers currently installed on your computer. Right-click on the printer and select "Use printer online".

    b. clear all print jobs. Double-click on the printer, then go to the Menu "printer" and select "Cancel all Documents." It could be a stuck print job that would cause the printer go offline. Try once more to put the printer online and try to print a test page.

    c. turn the printer off and then on again. Check if the printer is blocked. Check all the network connections to make sure that none are loose.

    Method 2: refer to this link and check if it helps .

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Also check out these links and check:

    Resources for the resolution of the printer in Windows XP problems

    http://support.Microsoft.com/kb/308028

Maybe you are looking for

  • Continuously monitor changes to a string value.

    Hello world I am looking for a solution to this issue. More info: I have a dialogue-type VI with only a text field, which is a string. The user needs to analyze a Data-Matrix Code from a device in the chain. The scanner itself works as if the user ha

  • Windows Aero on Windows Vista does not!

    I have Windows Vista Home Premium. I have Windows Aero, since I got the computer in 2007. All of a sudden, Aero stopped working. I went to the customization in Control Panel and click on "Color and appearance of windows" and the "Appearance settings"

  • IE8, 32-bit browser

    A new program that I use requires IE7, 32-bit browser. I downloaded IE8 before that. I also see that the program will not support Windows Vista 64-bit. I understand that I can use the compatibility feature to make the IE8 emulate IE7, but don't under

  • "Unavailable" or any Bluetooth simply not there (Pavilion DV7-4180ea)

    Dear members of the staff and forum, I use a nine Pavilion DV7-4180ea (Windows 7 64-bit) that was given to me as a gift for a little less than a week, but since the beginning have not been able to get bluetooth. I can't find a solution on the interne

  • Dv6175ea update processor

    Hi all I have a DV6175ea and I want to upgrade the processor. I look for opportunities to upgrade: I now have the T5500 - 1.67 Ghz My possible alternative objectives: T7500 - 2.20 Ghz; T7600 - 2, 33Ghz; Can I switch to one of the above? Thanks for an