How can I connect to a remote firewire camera?

We have a system that has the following peripherals connected to it:
1 - firewire camera
2 - serial port devices
2 - emulated serial port devices (on VCP USB drivers)
1 - Ethernet device
We have developed an application using CVI 8.1, NI Vision 8.6, and NI-IMAQdx 3.2 (it's an older cam). I would like to make this system accessible remotely (not remote desktop) and was looking for a way to program a server/client setup. Although it will be a lot of work, we can easily take care of a protocol for the Ethernet and serial devices. Where I'm getting stuck is the camera.
I've searched the forums and it seems that people can use the RT software module on specific host hardware to do just that. We don't want to invest in purchasing a separate software module or another piece of hardware, so I was wondering if it was possible to configure MAX or the NI vision server somehow to connect to a remote win7 PC to grab frames and configure the camera OR is there an easy way that I can transfer the stream over TCP/IP?
The only solution I can come up with is the grab a frame, save to .PNG, transmit it, and then load it on the client side. This seems very wasteful (and slow considering the harddrive will constantly buffer the data) and I would need to do a lot of encapsulation for changing camera settings, etc. Further, I'm not sure how well this would work for when we try to calibrate the camera with the IMAQ drivers. Is there a way to get the size and all relevant data structures in memory of the vision server so I can transfer them?
Finally, if there is a simple way of configuring and doing all of this for the camera that I'm missing (through MAX), then is there a similarly easy way of mapping the remote serial ports and of bridging the Ethernet data? I know there are a few pieces of existing software for the serial ports, but was looking to make a single software solution.
Thanks for taking the time!
-Stan

Hi Stan,
Welcome to the NI Discussion forums! Thanks for posting your application here. There certainly are more efficient ways of streaming IMAQ images over a network. One such method would be to convert the IMAQ image type to a 2D array and then pass the data through TCP/IP, as you eluded to. Do you have access to LabVIEW? If so, you can look at this community example and base your CVI code on it. Although it is meant for a Real-time CVS acting as the remote system, you should be able to run the code on a regular PC. If you don't have access to the LabVIEW development system, the overall code structure for the server system is as follows:
- Open IMAQdx reference, initiate a TCP connection, Create IMAQ image buffer
- Initialize an IMAQdx grab
- Loop:
- Call IMAQdx grab
- Use the IMAQ Flatten Image to String to convert the IMAQ image to a string
- Call TCP Write to send the string length first, then again to send the actual string data
- Dispose of the IMAQ image buffer, close the IMAQdx reference, close the TCP connection
On the client end, you just need to open the TCP connection and call TCP read to read the string size and then the string data. Then, you can use the unflatten from string function to convert the string back to an IMAQ image data type. After this, it is up to you how you want to process the data (display it on the screen, write to an AVI file, etc).
If you are not sure how to implement TCP/IP programs in CVI, please take a look at this tutorial. If you have more in-depth questions about implementing the TCP/IP side of the program in CVI, you may wish to post that specific question on the CVI board.
With regards to mapping the serial ports remotely, if you are already using NI-VISA for COM port communication, take a look at this document on Remote Instrument Control with NI-VISA. Essentially, you should be able to access the VISA resource (e.g. a COM port) remotely by enabling the remote NI-VISA server on the client machine. For more specific help with this aspect of your code, please post to the GPIB/VISA board.
Feel free to post again here if you have more IMAQ and vision-related questions. Hope this helps!

Similar Messages

  • How can I connect my existing firewire drives to the "new" Macbook pro

    I'm thinking about getting a new Macbook Pro, to take on the road.
    I already have four external drives with firewire and USB 2.0 ports.
    After I looked at the new machine I noticed it only had USB 3.0 and Thunderbolt ports.
    I dont see any Firewire to Thunderbolt technology out there nor do I see any  USB3.0 to anything technology. How can I connect my drives to the new system?

    You can use the USB3 connections for USB2.  That's downward compatible.  Just runs at USB2 speed.
    Just this week apple announced a couple of TB adapters, TB-to-ethernet and TB-to-firewire.  But the FW adapter is not at the apple store as yet (at least at the time I am posting this).

  • How can I connect the TestStand 30 UI controls to a remote instance?

    I have been playing with the TestStand 30 UI controls (which I love), and I can't see a way to connect them to a remote instance of the TestStand engine. My observation has been that they always connect to the local instance of the Application manager.
    Just to be clear, I want to run TestStand on computer A, then create some UI controls (sequence view file manager, sequence view, some combo boxes, etc) on computer B, and have them connect to the engine on computer A.
    I noticed that you can set the sequence file context on the SequenceFileViewMgr object, but not the applicaiton manager context (the property is read only). When I try to set the ISequenceFileViewMgr:equenceFile property to a remote inst
    ance of a sequence file object, the control doesn't seem to connect. I can only connect to sequence file objects that have been created locally through the application manager.
    Thanks,
    Aaron Stibich

    The controls don't support that scenario, and if they did, I would expect that the resulting tracing performance would be unacceptable. It is an interesting idea though and it would be nice to try it without tracing to see if it was fast and robust enough to be useful. I'd need to investigate whether the controls use any non-remotable internal APIs before attempting to enable this. I'll add this idea to our suggestion list.
    I don't know if it is appropriate for your use case, but if you can instead connect to the remote machine via RemoteDesktop, you should be able to remotely run an OI application with decent performance.

  • How can I use the built-in Isight camera with an external camera (usb/firewire) at the same time?

    How can I use the built-in Isight camera and an external video camera at the same time?
    I'm wanting to stream over Oovoo/Skype/etc. using 2 cameras.
    Thanks

    Simple question with a not so simple answer.
    (a) If you mean that you want to run multiple apps simultaneously using a different camera with each app, you may encounter computing power limitations.  Digital video is processor intensive.  The only way to know if your Mac can do this it to try it.  If the video does not work together but each app works when it it the only app running, you are likely overloading your Mac's ability to process and/or move all the required data in your data bus.  You can get a better indication of whether this is the case by watching your Activity Monitor utility while running the apps you want to use.
    (b) If you mean that you want to have more than one compatible camera connected to your Mac simultaneously for ease of changing between video sources, some, but not necessarily all, apps you are using to operate your camera(s) allow you to select between your cameras.
    How you select among connected cameras depends on which application you are using. Here is how camera selection works in a few examples:
    (1) For iChat, you can choose which iSight you use in the "Camera:" choices bar in iChat > Preferences... > Audio/Video that appears when more than one compatible camera is connected. Although your camera choices will be different, the choices bar will look something similar to the Preferences settings shown here:
    If you cannot see the "Camera" choices bar, your Mac is recognizing only one (or none) of your cameras. In that case, consider the suggestions fromhttp://support.apple.com/kb/HT2090 for iSight problems or refer to your other camera's documentation for help.
    This particular choices bar solution applies ONLY to iChat. Most other applications also have settings that allow you to choose which camera to use. However, they do not all work the same way.
    (2) For instance, iMovie HD's camera choice is NOT set via Preferences. When you have more than one compatible camera connected, iMovie6 HD uses a drop-down menu choice something like this (depending on which version of iMovie you use):
    Note: Because I had no built-in iSight connected when I made this example, and because my external iSight was not connected, the drop-down menu showed only "Time Lapse." Because your Mac has a built-in iSight, your built-in iSight would show in the drop-down menu even when no other camera is connected. Connecting an additional Mac compatible webcam should allow you to choose either camera.
    Other iMovie versions work slightly differently.
    iMovie 9 (from iLife '11) uses a different camera choice button shown in this article:
      http://docs.info.apple.com/article.html?path=iMovie/9.0/en/mov39f84285.html
    iMovie 8 (from iLife '09) is slightly different as explained in this article:
      http://docs.info.apple.com/article.html?path=iMovie/8.0/en/10172.html
    In general, you can use your Mac's help for the application in use to find out how to select among more than one connected camera.
    (3) Photo Booth in Snow Leopard 10.6.x and later uses the Photo Booth > Camera menu command to select which camera to use.
    Note for readers with older Mac OS X: The previous version of Photo Booth that came with Tiger (10.4.x) is such a simple, basic app that it offers no menu selectable choice. Unless your built-in iSight is already occupied as the camera being used by some open application before you launch Photo Booth, Photo Booth will use ONLY your built-in iSight.
    However, you can use the trick from ¶ 4 of http://docs.info.apple.com/article.html?artnum=302781 to let Photo Booth use an external camera.
    (If you have an external Firewire camera connected, it may be used in preference to any USB webcam. If that is a problem for you, merely disconnect the problem Firewire device.)
    (4) For FaceTime, launch the app and click the Video menu item.
    If your Mac recognizes more than one connected compatible camera, a "Camera" section listing the cameras from which you can choose will appear there. Clicking on the desired camera name will let you select the one you want as shown in this image from my Mac Pro and LED Cinema Display:
    If your Mac recognizes only one compatible camera, the "Camera" section will not appear in the Video menu, but FaceTime will automatically use the connected camera that is recognized by OS X.
    (5) I do not use Skype oir Oovoo.  For those or other apps, see Help for each app for info on how to select your desired camera.
    Message was edited by: EZ Jim

  • A lost my remote control for apple tv. I want to use my phone as a remote but the applications can' pair with the Apple TV device , how can I pair them without remote?

    A lost my remote control for apple tv. I want to use my phone as a remote but the applications can' pair with the Apple TV device , how can I pair them without remote?

    Setup for remote app: http://support.apple.com/kb/ht1947
    Specifically:
    Set up Apple TV (2nd and 3rd generation)
    On Apple TV, select Settings from the main menu.
    Select General > Remotes > Remote App. If Home Sharing isn't set up on your Apple TV, you should turn it on.
    Apple TV (2nd and 3rd generation) uses Home Sharing to stream content from your iTunes library on your computer to your HDTV.  If  you connect your Apple TV to your iTunes library using  Home  Sharing, you can use Remote to browse and play content from any  iTunes library in the Computers   section of your Apple TV. You can also  use Remote to select  between available speakers to enhance  your  audio and video experience.

  • Dear Community, how can I connect SCSI tape recorder via USB to iMac ? Is there any adapter/converter on the market now ? Cheers, Marek

    Dear Community,
    how can I connect SCSI tape recorder via USB to iMac ?
    Is there any adapter/converter on the market now ?
    Cheers, Marek

    Thanks Jan.
    Actually the reason to use Quantum SCSI tape recorder is to back-up big amount of data (propriety movies footage) both on PC (what is quite easy, using SCSII host adapter with VHDCI 68 connector) and iMac what seems to be not easy. All my search by Google leads to that conclussion, they finished production of SCSI-to-USB or FireWire because somebody stopped to produce chips to covert protocols. So even buying noe second-hand adapter, no guaranty it's still working with Lion (nobody is developing drivers anymore). Strange is, nobody or just a few are using SCSII (Ultra 320) devices (while the transfer is not bad, 320 MBps what is 2560 Mbps, so the only limitation is tape recording (some 80 MBps) not an interface. Using compression mode I can (and I do) record 1,6 TB of footage data. However quite slow, is safe and cheap, comparing with any HD storage solution. USB 2 is much more limited.
    I'm using Time Capsule for buck-up. But even 3 TB one day will be full of data, then old back-ups will be eaten by new once, what is not good idea for archives. I'm using another 2TB NAS HD (2x2TB RAID 1), but this is also going to be full soon.
    Of course, you are right, the option is another machine (OSX,Win,Linux or Solaris) equipped with SCSII controller. But this requires another machine, just for back-up time to time, and in practice iMac folders must be shared with that small auxiliary machine because amount of data practically excluding even temporary data collection on auxiliary machine. And it must be transfer by wire, not WIFI, my only network. Tape recording is in my case really good, professional solution, isn't it?
    Anyway, if somebody has similar requirements as me, and found the solution for SCSI, please let me know. So far, follow Jan's idea, I'm thinking about some embeded mini PC, fanless, equipped with slot for SCSI, with SOME smart system on-board, to deal with iMac for type recording. The option is previous Apple model, but to be honest, I became Mac/OSX user 4 years ago. I fell in love with Mac, but my knowledge about previous models is based on Google....
    My desk becomes full of boxes. Do you know how big Quantum TC-L42BX is ? Is very big. And now another box.....another keyboard....another screen... And one small adapter could solve the problem. Eh....
    Best regards,
    Marek

  • How can I connect to more than one computer from external ip

    Hi
    I have been using remote desktop for some time and have a port forward set so I can connect to our mail server from anywhere else externally from my macbook pro, but how can I connect to other macs in the office when there only seems to be the two ports available for use 5900 and 3283. I can only port forward to one computer? How can I connect to multiple computers when not within the same network? are there other ports available?
    Cheers
    Tony

    If your workstations get their addresses from an NAT device rather than being "real", the ports also need to be forwarded in the router to the workstation's internal IP address.  ARD uses port 3283 for the reporting and updating function, so if your Macs are getting their IP addresses through NAT, since you can only forward a port to a single workstation, you can only get reports, push package/files to etc. for a single workstation.
    ARD uses the VNC protocol for observation and control, though, and there are a range of IP addresses for that protocol, starting with 5900. ARD uses 5900 by default, so that port would be forwarded to the first workstation. You would, I believe,  need to install third-party VNC software on the systems (since the ARD client cannot listen on any port other than 5900 while other VNC systems can be set for other ports such as 5901, 5902, etc. You would then  forward 5901 to the second workstation (and on to 5902, 5903, etc.). You can then use the following information:
    http://docs.info.apple.com/article.html?path=RemoteDesktop/3.0/en/ARDC715.html  to connect.
    The only other options are: 1) to run the ARD administrator on a workstation on the network, and then take control of that system from outside, either via VNC or another copy of ARD, or 2) set up a virtual private network (VPN) so that when you connect from outside, your admin system is officially part of the local network.
    Hope this helps.

  • How do I connect my laptops with firewire cable

    My old mac laptop screen has died. How can I connect the old laptop to my new macbook in order to see the hard drive of the old machine so that I can retrieve/print files from it?
    I have a firewire cable, but when I connected the two, the old machine did not show up on the screen of my new laptop. What else do I have to do? Thanks

    See this Knowledge Base article on how to do this: it's called Target Disk Mode.
    Message was edited by: John Potts

  • How can I connect a Sony DCR-PC110 video camera with iMovie and import my videos?

    How can I connect my Sony video camera DCR-PC110 with iMovie in order to import my old videos?

    Hi
    This Camera has three types of ports.
    - Analog-out
    - USB
    - I.Link = FireWire = IEEE1394 = Digital in/out = DV-terminal
    And Your Camera only can send Photos via the USB-connection - NO VIDEO.
    So You Must get a FireWire Cable and eventually a ThunderBolt/FireWire converter Cable to get Import to work.
    There are no real way around this.
    Yours Bengt W

  • How can I connect the first generation ipod to macbook air?

    How can I connect the first generation ipod to macbook air or macbook pro? Using an adapter?

    macbook air
    The only theoretical solution is an USB ExpressCard adapter and FireWire ExpressCard. I don't know if anyone's actually attempted it.
    macbook pro
    A FireWire 400 to 800 cable or adapter, also known as 6 pin to 9 pin.
    (53970)

  • How can I connect my Canon ZR200 camcorder

    how can i connect my canon ZR200 camcorder to my new imac

    If it's a new iMac with a Thunderbolt port, you should get the following:
    Apple Thunderbolt-Firewire adapter
    9-pin to 4-pin FIrewire cable like this one

  • HT4528 How can I erase an iphone remotely due to it being lost to prevent someone from using it?

    How can I erase an iPhone remotely due to it being lost to prevent someone from using it?

    You have to have had Find My iPhone active on the device before it was stolen, and it has to be connected to the Internet via wifi or cellular. Log into www.icloud.com and see if you can locate your device. If it is offline, it means it is probably out of battery, the thief has turned it off. You can send a wipe command to the phone and if it does get connected, it will wipe the phone. If you did not have Find My iPhone active, there is nothing you can do.

  • How can I connect my 3gen apple tv with HDMI to my bush LCD32TV022HD which does not have an HDMI port but does have 1)S-Video I/P, 2)Video I/P, 3) L

    How can I connect my 3gen apple tv with HDMI to my BUSH LCD32TV022HD
    This does not have an HDMI port but does have:-
    1) S-Video I/P,
    2) Video I/P,
    3) Audio Input (Left & Right)
    4) Audio In jack (for VGA and DVI source)
    5) DVI input
    6) VGA input

    Welcome to the Apple community.
    The Apple TV doesn't officially support a DVI connection, however you may be able to get it to work. You will first need to check that your TV supports either 720p or 1080p as well as HDCP. If you are able to get the video working over the DVI connection, you may also require a DAC in order to connect with Apple TV's optical audio output to the TVs audio imput.
    You may well wish to make sure that the DVI connection works before spending any money on a DAC..

  • How can i connect to SQL Server 7.0 on Windons Using JDBC

    How can i connect to Microsoft SQL Server 7.0 on a windows enviroment ?
    in sql server 2000 some jar files are required that is
    What you need to do is actually add all three jar files to your class path individually. There are three jar files that come with this driver the msbase.jar, msutil.jar, and mssqlserver.jar. for sqlQ server 2000.
    now the problem is that i cant find these files on my system. firstly where these files will be located. secondly are they will be used to connect to SQL Server 7.0. thirdly if not what is the procedure.
    My next Problem is that I have Websphere Studio Application Developer. in which their is this facility of Database Webpages its like a wizard which makes automatically beans servlets and JSP but before that you need a Driver Name and and Class Name for to Connect to the Database.
    Can you tell what is the specific Driver Path for the Microsoft SQL Server 7.0 . secondly is this the class which is used to connect to SQL server 7.0 "com.microsoft.jdbc.sqlserver.SQLServerDriver" where can i find this one. for SQL server 7.0.
    please provide some guidance in this regard.

    You can search for the JDBC drivers at, http://industry.java.sun.com/products/jdbc/drivers
    All the three jars that you specified are part of MsSQL Server jdbc driver. You need them (in the classpath) to get connected to the database.
    "com.microsoft.jdbc.sqlserver.SQLServerDriver" is the class in mssqlserver.jar. This is the driver class which will be used to get connected to the database.
    You can search in this forum for writting jdbc code (for Sql Server). If you don't find these jars, give me your e-mail id.
    Sudha

  • How can I connect to SQL Server CE?

    Hi!
    How can I connect to SQL Server CE ?
    Any idea?
    I found jdbc driver for SQL Server 6.5,7.0,2000.
    But no driver for SQL CE.
    Thanks for any suggestion....

    I am also searching for same answer.
    I wanna choose Access as a db. but I can't find that so I have a no choice to select SQL2000CE though.
    I am stuck in driver problem. I can't find that.
    Should I use Oracle Lite or PointBase?
    I am under a lot of stress... like you've been...
    I wish you find and post that....

Maybe you are looking for

  • Can't open Camera Raw in Bridge

    One thing I noticed is that with CS5, when I choose Browse in Mini Bridge while in Photoshop, Bridge opens in the background. In CS6 when I browse in Mini Bridge, regular Bridge does not open, although I can open Bridge directly from Photoshop. The o

  • Problem in SRM (with backend PO)

    Hi, I have a problem in creating a PO with backend product category in backend. The error message is some backend documents could not be determined. But I could able to create a PR Reservation and Direct PO for the same Product Category. (in the back

  • Multiple MIDI keyboards in Logic 8

    I've read about 8 different threads already on how to get this to work and I'm getting pretty fed up with the lack of results. I simply want my M-Audio controller(USB) to be assigned to one instrument, and my Roland D-20(connected through my digi002)

  • Port forwarding stops working several hours after reset

    I have a WRT350N (fw v. 1.03.2).  It's connected to an Alcatel ADSL modem (PPPoE configuration).  I've configured port forwarding to allow HTTP and SSH into a linux box on my home network (static IP).  I am able to get to the linux box from outside f

  • Filter in queries on 2 Char's

    Hello Team,                     We have a situation where in we just need to exclude  a combination of Country and  Brand  in the query designer. we cannot change this in the cube as we are only asked to see the possibility of doing this in the query