RS 232 + Camera

Hello everyone, I have two questions:
1 - How can I save the data of the serial RS 232 ports on labview?
2 - How can I do a camera on labview and save the video.
Thank you

Tags: NI Software

Similar Questions

  • RS-232 via Camera Link

    I've put together some code for VC ++ to open a connection RS-232 over link camera and send/receive orders. The code compiles and runs, but I get no response from the camera. The command I sent you is directly from the seller, so for now I guess it's okay. Is the following correct code? I would be very grateful if someone could look over the code below and let me know if I have a missed anything. Thank you.

    I checked the interface file contains the reference to the camera that I use and that the camera file is configured to support serial communications at 56 kbaud.

    void sendCommand (void) {}
    int error;
    NSerial Int32, size;
    char response [9];
    name char [64];
    char buffer [] = {49 0 x, 0 x 73, 0 x 65, 0x03, 0x3F, 0 x 04, 0 00 0 x 28, 0x0D};  Example command camera of provider
    text Char [32];

    unsigned int bitsPerPixel;
    DWORD dwThreadId;
        
    Create the event which should be reported when we
    you want to stop the acquisition.
    HStopEvent = CreateEvent (NULL, TRUE, FALSE, NULL);
    If (!.) (Return HStopEvent);

    Create the thread that is responsible for closing
    to the bottom of the acquisition
    HStopThread = CreateThread(, 0, (LPTHREAD_START_ROUTINE) StopThread, (LPDWORD) & HStopEvent, 0, & dwThreadId);
    If (!.) (Return HStopThread);

    Get the interface name
    GetWindowText (HIntfName, name, 64);    HIntfName is the HWND, or interface = img0 handle, which is correct

    Get the interface name
    errChk (imgInterfaceOpen (name, & Iid));
    errChk (imgSessionOpen (Iid, & Sid));
        
    errChk (imgGetAttribute (Sid, IMG_ATTR_GETSERIAL, & nSerial));
    sprintf (text, "dddd %", nSerial);  Get the index of the serial connection and display in a text box
    SetWindowText (HSerialOut, text);  HSerialOut is the handle to a text box

    Size = sizeof (buffer) /sizeof (Char);  # character in the command buffer (9)
    imgSessionSerialWrite (Sid, buffer, & size, 2000);  2 sec writing timeout (should be more than enough)
    imgSessionSerialRead (Sid, response, & size, 2000);  Same thing for read

    sprintf ("%s", text, response);
    SetWindowText (HSerialOut, response);  Don't get any impression and no error message

    Error:
    If (error<0)>
    DisplayIMAQError (error);
    PostMessage (ImaqSmplHwnd, WM_COMMAND, PB_STOP, 0);
    }

    return;
    }

    Tim:

    The code works; the problem is that the series writing and reading calls return 0, which I interpreted as the number of bytes sent and received, respectively. It looks like 0 simply means that the call worked, I decided that it was the case looking at the answer. Thanks for your help.

    Charles

  • PCI-1422 and RS 232 control of a camera Hamamatsu ORCA-HR (HR C4742-95-12)

    Hello

    I'll have some incompatible problems when I try to control a camera Orca-HR (Hamamatsu C4742-95-12 HR) via RS232.

    I have a feeling that the problem comes from how the RS232 port emmbedded (emulated?) in the PCI-1422 is used or recognized by the various software that I've tested.

    So first, this port emulated/integrated should appear in the series, Max & list parallel port? I don't think, but he's not here, that's for sure. I have 'only' the projection of card PCI-1422.

    Case where I can access some of the attributes (accessible from limited functionality) camera:

    -By MAX I can change some settings so the snapshots of controller and make.

    -I can access these functions by IMAQ ('IMAQ camera set attributes.vi', etc. see Appendix vi example).

    -J' have a full control of the camera via the Hamamatsu Hipic 8.0 software, but only if I use the internal drivers and a different com port than those incorporated in the card PCI-1422 (Hipic offers not only port com in any case perhaps because there is no by saying?)

    Case where I can't access the camera at all:

    -If I try to use VI to a Hamamatsu (the most recent in sample screws & DLL or older version), it does not work: calls to any function of the 'tmcamcon.dll' return errors, pointing to the fact that there is no camera detected: the first sub_Vi (tm_initialize.vi) will return no error but zero connected camera and other screws return errors saying there is no camera using this handle, or no camera can be activated at using this handle.

    -I have NO camera control via the Hamamatsu Hipic 8.0 software if I use the DCAM API drivers no matter what com port (incorporated in the card PCI-1422 or other).

    Does make any sense to you?

    I just thought that the Hamamatsu screws cannot access the camera via emulation RS-232 of the PCI-1422. Is there a configuration setting, that I could use to those who do work and do not have to restart from scratch with IMAQ and with only limited functionality?

    Thanks in advance for your answers.

    Hello

    In fact, you can have access to the serial port integrated on the PCI-1422 map only with IMAQ functions.

    This explains that you cannot see in the section "Series and parallel" in MAX.

    I have not really well know PCI-1422, but there's probably a way to access the serial port on the card PCI-1422 in MAX.

    Camera attributes, you are able to access with IMAQ, y then the camera assigns the has camera driver.

    If you are able to access more attributes with Hamamatsu driver, it is the manufacturer who decided to restricted access to other drivers.

    But if you are not able to use the screw manufacturer, you should probably call him to find out why it works badly. Perhaps a version control problem or a update of the firmware?

  • Camera entre.200 a.232 image quality degradation

    I have a unlocked US version of the d6603 and I noticed after a super clean install... (factory reset, and then installed the software developed jour.232) overall, the camera seems to have much more noise to the image... Where as before the update have been much cleaner and has much less noise... For now, it's almost like it has the artificial film grain...

    The only thing I have not tried, is that the plant you when your battery is greater than 80 percent...

    Someone else has this problem...

    Hi @SONICMILLER

    Please, your home screen try the following:

    1. tap the icon of the Application screen.
    2. search for and tap on settings-> Apps.
    3. slide the tab all.
    4. find and tap on the camera.
    5. Press stop Force-> clear data.
    6. restart the phone.

    Please keep us.

  • How to control the RS 232 image intensifier

    Hi all

    I have an image videscope VS4-1485 intensifier which got RS-232 communication. The instrument is delivered with a software (labview not) to control gain and gate delays. But I need to control the intensifier with Labview as I do with my camera. can tell me what additional configuration is required to control the instruments of RS - 232 with LabView, I know that I can use Visa series read and write, but I need special SCPI commands? do I need a data acquisition card?

    Please let me know.

    Thank you

    AG

    Hello

    usually, the manual of the device should indicate the command arguments to be sent to the serial port (if any). Have you checked the documentation? Simply a RS232 cable and the appropriate command format to communicate.

    Should be pretty easy, I guess.

    Best regards

    K

  • Trying to get rs 232 working on the same machine

    Hello

    I have a question about using a connection RS-232 in LabVIEW.  I did a search on this subject in the window examples in Help and found the base set file write and Read.vi (it came standard with the IDE).  I read the description at the top (in the yellow box), and depending on how I understood it, I should be able to write to connect RS-232 (COM1, say) and then read it later and display the reading string.  I typed in 10 characters "a" and ran to the app (just before the string "* IDN?") \r\n").  The problem that I had was that the character array was not displayed!  Why?  I swear it worked somehow some time ago.

    I don't get an error message, do not see my original message that I typed in.

    You connect the transmission line to the receiving line. It's a DB9 pins 2 and 3.

    Make a loop do not do much more that check if the port on the pc is functional. Not much good for debugging everything about a real instrument, you may need to connect.

  • IQEye702 driver camera

    Hello.

    I'm trying to integrate an IQEye702 camera into an existing application for inspection.  I use the ethernet connector to control the device.

    Who will be a better approach TCP or VISA?

    Best regards.

    What is a GigE camera? If so, the best approach would be IMAQdx acquisition, which however is not free. If it's simple TCP/IP communication, I would use the TCP/IP screws because they are a little easier to use once you know them. VISA adds a layer of extra software to the overview. It's good for instrument disclosure, especially for devices with an Ethernet and RS-232, GPIB, or USB TMC connection, but if it is for a pure TCP/IP device I'm going with the TCP nodes.

  • Camera remote app for Android wear presents itself as "com.sonymobile.cameracommon.wearablebridge".

    Hello

    I just updated my Xperia Z3 Compact D5308 for Android 5.1.1. After that, the application of remote control of camera has been installed on my bike 360, also running Android 5.1.1. He shows the app as "com.sonymobile.cameracommon.wearablebridge". Not so much a nice name, huh? Any ideas how to fix?

    Soon David

    This issue is fixed in the version of the 23.4.A.1.232 software but according to country, you may not have received this update again as availability can depend on local approvals and operator.

  • DMP 4400 G RS 232 connection with Cisco LCD 100 PRO 40N

    Hello world

    I know this question has been asked a little before, but I still have trouble affecting the DMM to control Cisco LCD 100 PRO 40N (Samsung) via the RS232 DMP connection!

    I searched and read every post on this forum, ('Samsung_MDC_RS232_Protocol_Ver - 21.pdf' & rs232.tx_hex =) tried but not vain.

    We have DMS VmWare demo (signs & Cast 5.2, Show and part 5.2) and 4400G with firmware 5.2.

    Also, I connected the series RS232 9 pin female to female that came with the TV on the DPM 4400 G and in the port RS232 TV, configured the DMP in the Task tab view control forward as you can see in the picture to set and define the type of TV for Cisco 40N and Power ON and another task for the display OFF. What I'm doing wrong here!

    Any input will be greatly appreciated!

    You must first activate rs232 on the DMP.  For Cisco views, use the system task called "RS-232: control supported, non-DMTech poster.  This will cause the DMP restart.  Once it has restarted, you should then be able to use the rs232 codes or the built in display of DMM controls.  I tested on the same Cisco display with cable included as has managed to turn the screen off and back on orders of DMM.

  • Control several cameras with Codec C60

    Hello:

    I have a client who wants to use 3 PrecisionHDMC cameras and with the intervention of content to a codec C60, as well as an AMX control system.

    I understand that there may be only 3 video inputs connected to a C60 both, my question is:

    If I have a HDMI switch which video switches of 3 cameras connected to Video Input #1 the C60 and have that is configured as an input of the CAMERA, how to control the cameras independently?

    I usually sign my AMX for the C60 system RS-232 and send an order which said in effect "Hey C60, 1 camera to zoom before saying" or "Hey C60, say camera 2 to zoom out, etc...

    But in this case, the C60 will be only 'think' it has a camera connected, therefore:

    Can I still send commands via the codec that say things like 'hey C60, say 2 camera to zoom out,'

    OR

    I can "daisy chain" cable between them and simply connect RS - 232 to the 1st chain camera and tell them '' camera 3, zoom ''?

    OR

    Need me a RS-232 connection distinct to each camera and just say "camera zoom out.

    I hope I explained my question quite well, I look forward to your responses!

    Thank you!

    If you want to integrate a bit more flexibility and discreet control, you can add a small matrix of switching in the project (see Extron DXP 44 HDMI) and have then each camera connected directly to the AMX for control. This allows the discrete control, discrete video selection, output preview and the ability to also have a PC or other video source connected (3 cameras and a PC).

    Discrete control is possible with chaining with addressing, but according to the placement of the camera and the distances between the camera the Garland cable runs can a problem and since you have to run the video towards the grid it's easier to run the control back on location as well.

    If you want to use the composting and then the TC console should be used.

  • The camera on my iPhone 6s is suddenly in a folder

    MY camera has moved into a folder called photography and I can't remove it.

    Tap and hold the icon and when your apps start jiggling, press on and drag the camera out of the folder app and move it where you want.

  • Anyone know how to solve my problem? I can't import my photos from Iphone to computer. Sign says: Photos in the camera cannot be imported because the IPhone is locked with a password or read. My phone is unlocked. I've tried everything

    Anyone know how to solve my problem? I can't import my photos from Iphone to computer. Sign says: Photos in the camera cannot be imported because the IPhone is locked with a password or read. My phone is unlocked. I tried everything, every single idea. Without success! Any other idea?

    For example, you specify that the device does not display the lock screen, correct? Do you use Touch IDS? If so, try to put your finger on the device to see if it's what he wants.

    See you soon,.

    GB

  • iPhone 7 more telephoto camera does not

    Is anyone having problems with iPhone 7 more telephoto does not activate. I'll go to the camera application and press the 2 x zoom feature, but it appears to be not to activate the camera of 56mm at the front. I cover the lens with my finger, the camera on the right side and the iPhone always displays an image despite me concealing one of the cameras teo. I can't activate the second camera. It seems to only be zooming digitally. I'll do this outside and he'll only digitally zoom when I hide the second lens.

    Im having this same problem. I heard from someone that he could not work until the next software update... but I have no idea and have not found anything in the online help. If someone else gets to know how.

  • Can I pair a Apple Watch to my iPhone without a camera?

    Can I pair a Apple Watch to my Iphone without a camera (it does not)

    I see know reason why not if it's an iPhone 5 or later version.

    My only concern would be the cause of what ever the camera not only not for work could have an impact of components such as wifi and bluetooth which is necessary

  • How to change the iPhone camera shutter sound 7

    How to change the iPhone camera shutter sound 7?

    Hello

    To adjust the volume of the sound of the camera shutter:

    • Use the settings ringer and alerts:
      • On iPhone 7 and iPhone 7 more, go to: settings > sounds and haptic.
      • (Other models, go to settings > sounds).
    • Or turn mute off / on using the switch on the side of your iPhone's ring/silent.
      • (The mute function is disabled in some countries).

Maybe you are looking for

  • Iwatch not pairing with my IPhone 4S

    I got an iwatch as a gift, but I can't use it because I don't have an IPhone 5.  Is it possible to pair it with my IPhone 4S?  my gift I useless at this point.

  • Re: Very slow laptop

    Hello, this has probably been posted CIHI thousands of times, but can t find a thread that connects directly to my problem. I have a Toshiba basic laptop that is only 5 months old, but it's really slow. When I turn the laptop on, it takes about 15 mi

  • Transfer photos from phone to PC

    original title: photos from phone to Paolo How can I transfer photos from my phone with my pc? He has plugged into the port usb & says your device has been successfully installed, but I can't figure out how to sync the 2?

  • Reading of micro speakers keep muting mic

    I tried to play audio of my microphone in my speakers, it works for a while, but after a while the microphone muffles just itself. The microphone is 2 - multichannel USB Audio Device, and the default communications device, under the Properties tab to

  • Copy a GBA machine's private key?

    After is you create a self-signed certificate (SHA1, 1024bits) on a unit of ACS (v4), possible to get a copy of the private key the device? We want to do for DR purposes, but have not yet been able to find a way? Any help, much appreciated! Thank you