Issues when using a Pixelink camera with LabView 9.0

In my lab, we have a program for video acquisition using LabView and the low level camera functions for Pixelink cameras.  We run into some problems trying to run this program and other demo gui programs that came with the Pixelink SDK.  In our data acquisition program, we have problems with our image coming out all scrambled.  We use the low level functions to obtain a frame from the camera in the from of a vector.  We then reshape the vector into an array and then send the array to a vi that turns it into an image.  When we try to view this image using the standard Labview image viewer, the image comes out all scrambled if the zoom factor is not set to .5 on the image viewer.  The full resolution of the image is supposed to be a 1024x1280 image which when we use the Capture OEM software for the camera provided by Pixelink we can see.  The image that we can see through LabView when we have the correct zoom factor seems to be only the top left quarter of what the entire image is supposed to be.  We also encounter strange problems when we attempt to use the demo programs for labview 8.6 that are provided with the SDK.  When trying to run the simpleGUI.vi, for example, the program connects to the camera just fine.  After you hit play to view an image, the problems start.  The program will play the video for a few seconds until it just freezes up and quits responding.  Labview must be exited and restarted in order for the camera to connect again.  I am not sure if it makes a difference that we are running labview 9.0 on our computers or not.  Any help you have on these issues would be of great help.  Attached are pictures of the scrambled/unscrambled image and of the part of our block diagram for camera control.
Attachments:
Incorrectimage.jpg ‏126 KB
Errorexplanation.jpg ‏543 KB
correct image.jpg ‏22 KB

IMAQdx is the driver that National Instruments provides to interface Firewire, GigE and USB cameras (Directshow compliant USB).  This is a licensed driver, so if you don't currently have it, then testing in MAX is not an option. 
So if I understand correctly, you have the Pixelink software which works fine, but you have Pixelink VI's that are used in LabVIEW, but those do not work correctly?  That to me seems like a driver issue, which I'm not sure how much I can help with since it is not our driver. 
Do you know what dll's the Pixel link VIs are calling into?  Are they Pixelink dlls?  If so, I would suggest speaking with the manufacturer or perhaps on of our other users has worked with Pixelink before.
Sorry I can't be much more helpful.
Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.

Similar Messages

  • Crosspost: Has anyone used a Redlake camera with LabView/Imaq?

    "I can't seem to find any drivers or utilities for the Redlake camera i'm using in my project.
    Only this: http://www.imagemill-tech.com/Redlake/ Fr_Redlake.htm
    But there's no info on how to get that VI (I've e-mailed them, of course).
    Any additional information on using the camera with LabView/Imaq would be much appereciated"

    "Kasper B. Dall" wrote in message news:<[email protected]>...
    > "I can't seem to find any drivers or utilities for the Redlake camera
    > i'm using in my project.
    >
    > Only this: http://www.imagemill-tech.com/Redlake/ Fr_Redlake.htm
    >
    >
    > But there's no info on how to get that VI (I've e-mailed them, of
    > course).
    >
    >
    > Any additional information on using the camera with LabView/Imaq would
    > be much appereciated"
    I just find the section out for you about remote control of your
    camera:
    1.7.1 Remote Control.
    Redlake Imaging also supplies the Serial1 program that enables a
    computer to control the
    MotionScope system from a remote location through the serial port.
    Refer to Manual Addendum
    9400-0014 for detai
    ls of the Serial1 program and how to control the
    MotionScope system from a
    remote computer using a standard communications program.
    So you need to find the serial command (for RS232) in manual addendum
    9400-0014. I couldn't find it in website maybe I did not search
    throughly, but you may have it if you own the camera. And these
    commands are just for controlling the camera system, not grabbing the
    image, so you may need a frame grabber to get the image into your
    computer and do the further processing.
    Irene
    [email protected]
    > http://www.geocities.com/irene_he/IVision.html

  • Has anyone used a Redlake camera with LabView?

    I can't seem to find any drivers or utilities for the Redlake camera i'm using in my project.
    Only this: http://www.imagemill-tech.com/Redlake/Fr_Redlake.htm
    But there's no info on how to get that VI (I've e-mailed them, of course).
    Any additional information on using the camera with LabView/Imaq would be much appereciated

    It looks like the Redlake VIs from ImageMill allow you to write serial commands to your camera. In LabVIEW, you should be able to write your own serial commands using the Serial Read/Write examples that ship with LabVIEW.
    I'm curios exactly which Redlake digital camera you have. Redlake cameras are often found under the names Roper (their parent company) or Kodak. I suggest going to www.ni.com/cameras to see if there is a camera file written for your specific camera. If not, please go to www.ni.com/ask to contact an applications engineer.
    Kyle V

  • HELP computer crash when using data translatio​n with labview

    Hi,
    So to explain what I'm doing for starters, I have used DT-Link with DataTrans devices and Labview in the past without any issue. Mainly D/O blocks, A/Os and maybe 1 A/I. So I'm relatively familiar with working with these.
    I began working on a new project that involes a dt9817 using 18 or so D/Os and then they had purchased a 9812(10v) for the 4 A/Is needed. I didn't seem to have any problems setting up the D/Os, in a while loop I referenced the 9812 and put in a write function. Now when I created the A/Is I did it just like I had before for a single A/I. I spent a little time figuring out how to get them to read from the correct port, but eventually figured it out.
    The problem is now that sporadically when the program is running, the computer will go to blue screen and then restart!! The only significant things I have time to see before it restarts are:
    DT9810_x64.sys
    bluescreen error
    code: 50
    I know it has something to do with DT Link as it is almost the only thing in the program and it only goes to bluescreen when the program is running.
    To answer questions:
    Brand new computer. Asus i7 quad core.
    I have tried to repair LV Link multiple times with no success.
    Finally, I'm assuming it is based around a problem with the way I'm sampling the 4 A/I channels, but I can't think of any other way to do it. If some one can help me figure this out, or post an example code for multiple A/I channels into xy graphs I would really appreciate it.
    Thanks in advance,
    Luke

    I just wanted to update this thread. Since having this error I worked out a few things that seem to have made the error more infrequent, however, it is still causing a major issue when the chemists are trying to run and a blue screen is pulled.
    I have gotten to an executable on a few projects and I have seen the error come up on both the development computer and target computers. It has been narrowed down to a problem with the digital outputs, and the LV Link digital output driver. Unfortunately the Data Translation people have been less than helpful, so I was hoping that someone might be able to post some example code to work from.
    This is the crash dump file from the last time I got a blue screen. If it makes a difference, it was taken from a computer with an executable.
    Here is the code that pulls the error.
    Thank you to anyone who can help. I am really stumped at this point.

  • Use Photonic Science Camera with LabView/IMAQ

    Has anybody had any experience with a Photonic Science camera ? I want to use the PS CoolView 12 with LabView 6/IMAQ 2.5.5.
    Thank you !
    Guido

    Hello,
    I come from France and got exactly the same material as you. If you get the chance to have answers to your questions just give me the place to deal becaus I'm still looking for answers
    Regards
    PIL

  • Error generated when using Matlab 7.0 with LabVIEW 7.1

    The error (1047) states "Server: Inappropriate input array sizen" no matter what the input is. the script works fine without inputs but there seems to be a problem interpreting inputs. I get this error even when I run the scriptnode example for the Matlab script.
    Randall Pursley

    This is a fixable problem with the older versions of LabVIEW and Matlab, but a new problem with the latest version of Matlab. I have had to 'fix' this problem everytime Matlab upgrades and will probably just have to wait until NI comes out with a new fix to go with Matlab 7.0.
    Randall Pursley

  • How to resolve issues when using Adobe Reader DC with LEED Online?

    This morning I downloaded Adobe Reader DC however now I am no longer able save the PDF in LEED Online.  How do I resolve this issue or revert back to the older version of Adobe Reader?

    Before the DC version we were able to save our passwords from University of Phoenix and when opening the document saved to our computer it would unlock automatically.  This new version DC will not allow this even when you say Yes.
    The Right Column in previous versions would allow to disable until requested to appear this version it opens regardless.
    Just my opinion here  Adobe Failed at customer satisfaction on this UPGRADE.
    Regards a unhappy Adobe user.

  • Camera with labview

    hello
    i want to use a usb camera with labview
    i searched in the forum and i found many discusions about IMAQ driver fro usb camera
    i have dowloaded many of the VIs and every time when i open the VI in labview it skes me to load a sub vis that i dont have and not included in the VI ai donwload
    so how can i use this camera fro home monitoring system with labview ?>
    i have opened the camera from MAX and its working very good .
    Regards,
    D.A

    here is what i am trying to say
    when i open this VI whic is called Usb capture and display LV86 
    Attachments:
    Capture.PNG ‏288 KB

  • LabView (8.2) hangs when using I/O operations with traditiona​l NI-DAQ 7.4.4 after aborting LabView program

    Hello!
    We have the following problem:
    LabView (8.2) hangs when using I/O operations with traditional NI-DAQ 7.4.4 after aborting LabView program
    We freshly installed LabView 8.2 (2006) and NI-DAQ 7.4.4 on a PC running Windows XP (Service Pack 3). We built a larger vi that remotely controls a traditional NI-DAQ card (AT-AO-10) on a second PC via NI-VISA 5.0.3. We were successfully running this program until a power failure caused the first computer to crash. After this crash we were unable to start the program again: LabView freezes while loading the vi. LabView itself can be started but freezes when adding I/O operations from the NI-DAQ palette to a block diagram.
    We have tried to re-install NI-DAQ 7.4.4, but it did not help. We then re-installed all NI software, but still no improvement. In the end we decided to reinstall ALL software, first Windows XP, then LabView and finally NI-DAQ 7.4.4. This worked. However, after a few days of running the program we had to abort LabView via Windows Task manager and afterward we again experienced the same problem as before: LabView freezes when loading the program.
    Obviously, we cannot afford to reinstall Windows every time. Are there any known Windows XP / NI-DAQ issues that might cause the freezing of LabView? We would be very grateful for any idea.
    Best regards,
    Matthias

    Hello Sprice,
    Browse the shipping examples according to “Directory Structure” and then select
    DAQ to find the Traditional DAQ examples. 
    There a lot of examples that are written for counters (Counter >>
    daq-stc.llb >> Count Edges (DAQ-STC).vi). 
    What kind of signals are your photons creating?  Are they TTL compatible at a certain
    frequency?  You don’t care about overwriting
    your buffer?
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • Is it possible to use a Linksys By Cisco Wireless-G Internet Home Monitoring Camera with Labview

    I was wondering if it is possible to use a 'Linksys By Cisco Wireless-G Internet Home Monitoring Camera' with Labview
    http://www.dabs.com/productview.aspx?Quicklinx=53PX&SearchType=1&SearchTerms=network+cameras&PageMod...
    I wan't to be able to get the raw data from the camera and analyse it.
    Message Edited by Jam.hall on 03-25-2009 09:03 AM
    Solved!
    Go to Solution.

    Hi Jam.Hall
    I am somewhat hesitant to say you will be able to use this camera with LabVIEW.  It all depends on what functionality you are wanting to utilise on the camera, and how much video you want to analyze.
     - If you want to use the wireless functionality, I am concered that the on board web server will compress and embed the video stream.  I do not beleive this is something we can access in LabVIEW.
     - If you wish to use the ethernet connection, if it is Gigabit Ethernet, then you should be able to use our IMAQ for GigE driver to bring in the feed, but looking at the specs for the camera, I'm not sure that this is an option.
     - My other suggestion might be to utilise the record video stream function that the camera has.  Depending on the format of the video file, you may be able to read in the recorded file and analyse it in LabVIEW.
    If you could explain the purpose of your application, and what you would like to achieve with the system, there may be more suitable products that you can use.
    Kind regards,
    Sheela Sujeeun
    Applications Engineer
    National Instruments UK

  • How can I use a USB camera with cRIO 9022. Please see my strange problem.

    Hi,
            I would like to use a USB camera with NI cRIO 9022. I used the same USB camera with NI USB 6216 DAQ device and developed a VI(within a PROJECT and outside it). So, It is working fine with NI USB 6216 device when I use the Vision Assistant Express VI and gets detected in its Initialization Window.  Please see JPEG File 3 where I get NO ERROR.
            I am facing a problem when I want to use it with NI cRIO 9022. What exactly I am doing in this case is:
    1) Create a NEW PROJECT
    2) Add Targets and Devices(NI cRIO 9022)
    3) Use the Scan Interface mode
    4) Create a NEW VI under the cRIO 9022 device 
    5) Use a Timed Loop(Synchronized with Scan Engine) for continuous Data Acquisition and Sending from the Analog I/O modules.
    6) Use the Vision Assistant available through the NI Vision Acquisition 2010 Module(I get STUCK HERE! The Express VI opens the Initialization Window, but I don't see the USB camera like in JPEG File 3)
    I am facing difficulties with this HOST COMPUTER, cRIO implementation differences. On my host computer I have the software packages as shown in JPEG File 1, and on my cRIO 9022 as shown in JPEG File 2.
    Can someone guide me how to overcome this and get the USB camera detected when I am using NI cRIO 9022?
    NOTE: If this is a problem with software mismatches on HOST and NI cRIO 9022 device, please see JPEG Files 1 and 2 for available software and Host and cRIO 9022.
    Thanks.
    Amar.
    Attachments:
    NI Vision Acquisition Express Error for NI cRIO 9022.JPG ‏39 KB
    IMAQ and dx Modules Installed on my NI cRIO 9022 hardware(No NI Vision Acquisition 2010 SP1).JPG ‏82 KB
    NI Vision Acquisition Express NO Error for NI cRIO 9022.JPG ‏48 KB

    Only GigE comms are supported on the cRIO Real Time OS. Have a look at the following:
    Machine Vision on NI CompactRIO and Single-Board RIO
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • JTable text alignment issues when using JPanel as custom TableCellRenderer

    Hi there,
    I'm having some difficulty with text alignment/border issues when using a custom TableCellRenderer. I'm using a JPanel with GroupLayout (although I've also tried others like FlowLayout), and I can't seem to get label text within the JPanel to align properly with the other cells in the table. The text inside my 'panel' cell is shifted downward. If I use the code from the DefaultTableCellRenderer to set the border when the cell receives focus, the problem gets worse as the text shifts when the new border is applied to the panel upon cell selection. Here's an SSCCE to demonstrate:
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.EventQueue;
    import javax.swing.GroupLayout;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    import javax.swing.JTable;
    import javax.swing.border.Border;
    import javax.swing.table.TableCellRenderer;
    import javax.swing.table.TableColumn;
    import sun.swing.DefaultLookup;
    public class TableCellPanelTest extends JFrame {
      private class PanelRenderer extends JPanel implements TableCellRenderer {
        private JLabel label = new JLabel();
        public PanelRenderer() {
          GroupLayout layout = new GroupLayout(this);
          layout.setHorizontalGroup(layout.createParallelGroup().addComponent(label));
          layout.setVerticalGroup(layout.createParallelGroup().addComponent(label));
          setLayout(layout);
        public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
          if (isSelected) {
            setBackground(table.getSelectionBackground());
          } else {
            setBackground(table.getBackground());
          // Border section taken from DefaultTableCellRenderer
          if (hasFocus) {
            Border border = null;
            if (isSelected) {
              border = DefaultLookup.getBorder(this, ui, "Table.focusSelectedCellHighlightBorder");
            if (border == null) {
              border = DefaultLookup.getBorder(this, ui, "Table.focusCellHighlightBorder");
            setBorder(border);
            if (!isSelected && table.isCellEditable(row, column)) {
              Color col;
              col = DefaultLookup.getColor(this, ui, "Table.focusCellForeground");
              if (col != null) {
                super.setForeground(col);
              col = DefaultLookup.getColor(this, ui, "Table.focusCellBackground");
              if (col != null) {
                super.setBackground(col);
          } else {
            setBorder(null /*getNoFocusBorder()*/);
          // Set up our label
          label.setText(value.toString());
          label.setFont(table.getFont());
          return this;
      public TableCellPanelTest() {
        JTable table = new JTable(new Integer[][]{{1, 2, 3}, {4, 5, 6}}, new String[]{"A", "B", "C"});
        // set up a custom renderer on the first column
        TableColumn firstColumn = table.getColumnModel().getColumn(0);
        firstColumn.setCellRenderer(new PanelRenderer());
        getContentPane().add(table);
        pack();
      public static void main(String[] args) {
        EventQueue.invokeLater(new Runnable() {
          public void run() {
            new TableCellPanelTest().setVisible(true);
    }There are basically two problems:
    1) When first run, the text in the custom renderer column is shifted downward slightly.
    2) Once a cell in the column is selected, it shifts down even farther.
    I'd really appreciate any help in figuring out what's up!
    Thanks!

    1) LayoutManagers need to take the border into account so the label is placed at (1,1) while labels just start at (0,0) of the cell rect. Also the layout manager tend not to shrink component below their minimum size. Setting the labels minimum size to (0,0) seems to get the same effect in your example. Doing the same for maximum size helps if you set the row height for the JTable larger. Easier might be to use BorderLayout which ignores min/max for center (and min/max height for west/east, etc).
    2) DefaultTableCellRenderer uses a 1px border if the UI no focus border is null, you don't.
    3) Include a setDefaultCloseOperation is a SSCCE please. I think I've got a hunderd test programs running now :P.

  • When using facetime having difficulty with video, sound is ok.screen says reconnecting.

    When using facetime having difficulty with video.msound is ok. Screen says reconnecting

    There have been numerous reports of FaceTime problems for the last several days and it is unclear what the cause if. Following is one of many discussions of the issue: https://discussions.apple.com/thread/6096640?tstart=120

  • Controlling Hamamatsu Camera with LabVIEW

    I am using a Hamamatsu 1394 ORCA-ERA Camera in order to save microscope images on a PC. Im my lab, we are attempting to automate the process of saving an image from this microscope, and coordinate the time of the image capture with a function performed with LabVIEW. 
    As the 1394 name implies, this camera is connected to our PC using a firewire port. Is it possible to control the function of this camera with LabVIEW through a firewire port? What additional LabVIEW libraries would I need in order to perform this task, if any? Finally, is it possible to use LabVIEW to control a program called micro-manager that we currently use to save images? I know the Hamamatsu API supports both programs, but I am not sure if cross-communication between them is supported. 
    Thank you for reading, any response is greatly appreciated. 

    You say the API supports LabVIEW.  Does it have any example code for you to start with?  Typically driver sets include examples to make it easier to work with their API.
    If it works with that API, I'd see if you can get that to work with taking the images without using the second program.  You can typically use something like system exec on a Windows machine to run programs.  I'm not sure of anything that works similarly for a Mac.  Does micro-manager have an API you can use to make calls to it?

  • Sand Box has stopped working error when using System Exec.vi with wait until completion is true

    I get the following error message in Windows 7 "Sand Box has stopped working" when using System Exec.vi with wait until completion set to true, if I set it to false there is no error message.

    Hello JJVerdi
    mmm well System Exec.vi simulates a DOS command window, can you run the sandbox from the cmd window using the same commands without any errors? 
    you may take a look to this KB, it may be related to your issue:
    http://digital.ni.com/public.nsf/websearch/2393462​BD57B854186256C4F007B706A?OpenDocument
    Regards
    Mart G

Maybe you are looking for

  • Need to find the source code for java.util.LinkedList

    Hello all, I'm new to the forums and I actually need the LinkedList source file as well as all the source files for all Java packages and libraries. Please post a link here if you can, or email me at [email protected] Thanks again! copter_man

  • Problem with combo boxes and the reset button in certain situations

    Hi Everyone, i have a problem to make the reset-button function properly in an what-if analysis dashboard. The dashboard uses two combo boxes that are not visible at the same time. In my application the second combo box only appears when a dedicated

  • App Store crashes occasionally

    There seem to be a few problems with my iPad that only surface occasionally. One problem that I've not only encountered on mine but other people's iPad 2 is that the Apple App Store seems to "crash" every now and then. From one moment to the next it

  • Lumia 625 4G Stuck in airplane mode after flash fr...

    while updating my phone OTA it's stucked and then i flashed it using nokia care suite. after all finished and reboot the phone.and when its power up it's on airplane mode & cannot off the airplane mode.allways on when try off.i also tryed 8.1 update.

  • Component scart cable

    Have a PANASONIC TX- 36PL30 36" which I think, but am not sure, has a "rgb scart". Does that mean I can use it with aTV, and would I need a "special" component to scart adapter for rgb signals, or is it ok with any brand as long as my tv has rgb scar