Visa usb bulk communication - multiple end points

Hi All,
I'm setting up an ocean optics USB2000+ spectrometer and would like to use visa instead of the dll I got with the spectrometer (I had a bunch of stability problems, its not supported anymore by ocean optics and I don't want to have to pay for the new version).  I have the documentation for the spectrometer and have been able to set the integration time and receive spectra as quickly as the dll was able to.  But I have not been able to read the calibration information from the spectrometer.  All commands use bulk transfer, so I'm using visa write and read to send/receive.  I think the difference between the spectral data and calibration data is that the data comes from different endpoints.   The spectrometer has 4 endpoint addresses (3 to the PC = IN, 1 from the PC = OUT).  The spectral data comes back on the first IN endpoint and the calibration data comes back on the 3rd IN.  
Is there a setting I need to change to read from a different endpoint?  They are all bulk type according to the documentation.  Any suggestions would be much appreciated.
thanks!
Solved!
Go to Solution.

Hey gharris,
It looks like there is a setting you can change through a property node that will change which endpoint you read from. If you're using a text-based program, the property you need to change is VI_ATTR_USB_BULK_IN_PIPE. If you're using LabVIEW, follow these steps :
First, set a VISA property node down on your block diagram (really any property node will work). Next, right-click on the property node and select Select Class -> VISA -> I/O Session -> USB Raw. This step can be found in EndpointSS1.png attached below, and will change the property node to a USB Raw property node. Third, left-click on Property and select USB Settings -> Bulk-In Pipe. This step can be found in EndpointSS2.png, attached below. This is the property that sets which endpoint to read from. To change the value of this, right-click on the property node and select Change all to Write, which will allow you to wire in an endpoint value. 
Justin E
National Instruments R&D
Attachments:
EndpointSS1.PNG ‏24 KB
EndpointSS2.PNG ‏15 KB

Similar Messages

  • Inbound File Adapter - Multiple End points

    Hi,
    My scenario is File-> XI -> SAP.
    While doing so I have to pass the same message to SAP multiple times with different end points. Is it possible ?
    Thanks
    Satinder

    Hi Venki,
    Good to see you
    I sometimes miss the days in RNIF and CIDX.
    I needed a clarification on this:
    Is there any special configuration required for achieving multicast transmission?
    Is there any documentation available on SDN that can provide more info on the same.
    Regards,
    Siddharth

  • Solution: order delivery message for each end-point of many end-points

    Hello,
    Does anyone can help me find a solution to a problem I have.
    Scenario: I have to develop a project with the OSB, and between the various services that I have to develop one have the following requirements.
    I have a system that has multiple end-point (sub-systems; 1200 sub-systems), to whom I send a message (and only one), and these must be delivered in order (sequentially for each sub-system) .
    These messages came from a JMS queue (could be topic).
    Can anyone give some tips, how can I develop my components (proxy service) in order to ensure the delivery of messages in sequence for each sub-system without having to deploy multiple proxy service (one for each sub-system).
    Thanks for any help.
    Miguel

    Hi Miguel,
    Strange requirement but easy to implement. Create a XML which has all the end-points in it (you may create a simple structure line <EndpointList><Endpoint>EndPoint1</Endpoint><Endpoint>EndPoint2</Endpoint>.......</EndPointList>). Upload this xml as a X-Query resource in OSB. Use For each action in message flow (in request-response pipeline) and traverse on each and every EndPoint node in above created XML and from inside that use use publish/dynamic publish action.
    Use Routing options: Modify any or all of the following properties in the outbound request: URI, Quality of Service, Mode, Retry parameters, Message Priority.
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/modelingmessageflow.html
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/eclipsehelp/tasks.html#wp1111432
    Make sure that in the EndPointList XML you put the end-points in the sequence you want.
    Regards,
    Anuj

  • End point data from usb 2.0

    plz does anybody tell me how to read the data from end point 2,4,6 or 8 from usb raw 2.0  (min 4 byte to max 1024) or how to confirue the usb visa  properties? plz it's very urgent.
    thanking you.
    robin

    Hello Robin,
    I guess you are using LabVIEW. Have you tested the example USB Raw –Bulk.vi from LV NI Example Library? This example should work properly for you.LAbVIEW>>Help>>Find  Examples>>search for USB >>choose USB Raq-Bulk.vi
    Before you run this VI, install a USB RAW device and configure NI Measurement & Automation Explorer (MAX) to recognize the USB device. You can read to and write from the USB RAW device only after you install and configure the USB RAW device and open a session to the device.
    Plus.
    In my opinion, the attached KnowledgeBase could be helpful. This document includes a lot of details about your issue.
    How Can I Communicate With a Device Using NI-VISA USB RAW Mode?
    http://digital.ni.com/public.nsf/allkb/E3A2C4FE42D7ED0D86256DB7005C65C9?OpenDocument
    Best regards,
    AmirG

  • How do emulate multiple calls to same end point in Composite Test Suite

    Can any one help with a problem I face with a composite test suite? I have a composite that has 5 main activities and after each activity it logs a status in a business database. This uses the same end point each time to log a status just passing a different status at each point.
    When I create a test in the SOA Suite test suite I can create an Assertion for the first status call to check that the status us being created correctly but the second time the end point gets called the status is different and therefore the overall test fails.
    Does anyone know how I can create multiple assertions in a test for the same end point in the same test?

    Hi battlFrog,
    >>I want to change the end point address to this service that is now in the solution, but not sure what the address would be.
    What do you mean about the above message? I wonder if you want to let the client to reference to the service which is now in the solution, but not pointing to a service on your test server. If so, first please try to make sure that service
    which is now in the solution can work well. After that please try to use the "Add Services Reference" to help you reference the service which is now in the solution. Once it finishes, you can get the correct endpoint address in your client config
    file. 
    Besides, if your service is a self-host application, you can change the service address in the service side by modifying the baseaddress, if your service host in the IIS, you can modify the service address by doing some IIS configuration.
    If I have misunderstood you, please feel free to let me know. 
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • My ipod touch has a permanent image of the end of a USB cable with an arrow pointing to an icon of ITunes. I can't reset, and ipod does not appear on itunes when I plug it into the computer.  This happened after I agreed to a failed software update.

    My ipod touch has a permanent image of the end of a USB cable with an arrow pointing to an icon of ITunes. I can't reset using the two button method, and ipod does not appear on itunes when I plug it into the computer - and nothing else happens either.  This happened after I agreed to a software update which failed.  How can I get it going again?

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • TS1814 hello i have  a trouble with my i phone... i was trying to update a new software and at the end it says that there is some error and i cannot turn my i phone bak on all it shows is itunes logo in the midlle and usb cable with an arrow pointing to t

    hello i have  a trouble with my i phone... i was trying to update a new software and at the end it says that there is some error and i cannot turn my i phone bak on all it shows is itunes logo in the midlle and usb cable with an arrow pointing at the logo. If anyone knows what it is and what i should do please get back to me as soon as possible many thanks.

    http://support.apple.com/kb/HT1808

  • Playing Quicktime with Multiple Start End Points

    Hello
    I posted a message a few days which I received help on
    regarding starting and ending a Quicktime movie from various points
    in the movie. Now I have a new problem which I cannot fix at all..
    Here is the problem:
    I have a Quicktime movie on stage and 10 various buttons that
    contain a generic script which allows input of start and end points
    for each button to trigger the movie. Initially just doing this
    with one button is successful.
    However, multiple buttons all with the same generic code make
    the movie freeze up completely. My guess is that they are all
    fighting each other for control. Maybe I need something in the code
    which allows the button that is being used to play the movie to
    keep control.
    Here is the code I use for each button, the movie is on frame
    15.
    property pQT,pStart,pEnd,pFrame, pVolume
    on beginSprite me
    sprite(me.spriteNum).color=rgb (255,255,255)
    cursor 0
    if integer(pQT).ilk=#integer then pQT=integer(pQT)
    end
    on mouseUp me
    sound(3).volume=sprite(15).volume
    sprite(15).volume=pVolume
    sprite(pQT).movieTime=pStart
    sprite(pQT).movieRate=1
    cursor 0
    end
    on mouseEnter me
    sprite(me.spriteNum).color=rgb (173,24,41)
    sprite(me.spriteNum).cursor=280
    end
    on mouseLeave me
    sprite(me.spriteNum).color=rgb(255,255,255)
    sprite(me.spriteNum).cursor=0
    end
    on mouseDown me
    sprite(me.spriteNum).cursor=290
    end
    on enterFrame me
    if sprite(pQT).movieTime>=pEnd then
    sprite(pQT).movieRate=0
    end if
    end
    on getPropertyDescriptionList me
    if not the currentSpriteNum then exit
    vPDList=[:]
    setaProp vPDList, #pQT, [#comment: "Which QT sprite",
    #format: #integer, #default: 0]
    setaProp vPDList, #pStart, [#comment: "Range start",
    #format: #integer, #default: 0]
    setaProp vPDList, #pEnd, [#comment: "Range end", #format:
    #integer, #default: 0]
    setaProp vPDList, #pVolume, [#comment: "Volume", #format:
    #integer, #default: 0]
    return vPDList
    end getPropertyDescriptionList
    Any help is much appreciated. (not a lingo expert)
    Andy

    Many thanks Mike
    Works fantastically.
    I just thought I would post the finished code - well, tweaked
    ever so slightly from Mike's orginal for anybody wanting a nice
    little behaviour for controlling a Quicktime movie.
    (watch out for page breaks etc - should be 68 lines)
    property pQT,pStart,pEnd,pFrame,
    pVolume,pMyControl,pReturnMarker
    on beginSprite me
    sprite(me.spriteNum).color=rgb (255,255,255)
    cursor 0
    if integer(pQT).ilk=#integer then pQT=integer(pQT)
    pMyControl=0
    end
    on mouseUp me
    sound(3).volume=sprite(pQT).volume
    sprite(pQT).volume=pVolume
    sprite(pQT).movieTime=pStart
    sprite(pQT).movieRate=1
    pMyControl=1
    cursor 0
    end
    on mouseEnter me
    sprite(me.spriteNum).color=rgb (173,24,41)
    sprite(me.spriteNum).cursor=280
    end
    on mouseLeave me
    sprite(me.spriteNum).color=rgb(255,255,255)
    sprite(me.spriteNum).cursor=0
    end
    on mouseDown me
    sprite(me.spriteNum).cursor=290
    end
    on enterFrame me
    if pMyControl then
    if sprite(pQT).movieTime>=pEnd then
    sprite(pQT).movieRate=0
    pMyControl=0
    go pReturnMarker
    end if
    end if
    end
    on getPropertyDescriptionList me
    if not the currentSpriteNum then exit
    vPDList=[:]
    setaProp vPDList, #pQT, [#comment:"Which QT sprite",
    #format:#string, #default:0]
    setaProp vPDList, #pStart, [#comment:"Range start",
    #format:#integer, #default:0]
    setaProp vPDList, #pEnd, [#comment:"Range end",
    #format:#integer, #default:0]
    setaProp vPDList, #pVolume, [#comment:"Volume",
    #format:#volume, #default:0]
    setaProp vPDList, #pReturnMarker, [#comment:"Return to
    Marker", #format:#marker, #default:0]
    return vPDList
    end getPropertyDescriptionList

  • USB (Raw) - How to access VISA property: USB Bulk-Out pipe?!?

    I'm trying to use my own USB device. Since I'd like to use more then one USB In/Out Endporint I need to change that Atribute in NI VISA using LabVIEW (afaik. NI VISA uses the lowest Endpoint Number as defualt).
    According to LabVIEW 7.1 Help > VISA > I/O Session there is a VISA property which should be accessible via VISA Property node. That Property should be SUB Settings:USB Bulk-Out Pipe and USB Bulk-In Pipe.
    Hoewever when schaning through the available properties I only get the following 4:
    USB Intfc Num, USB Max Intr Size USB Port, USB Serial Num
    How can I cahnge the Property USB Bulk-Out Pipe ?
    Thanx,
    Rainer

    Thanks a lot - I knew it must have been some stupid small detail I didn't know ;-)
    Thanx,
    Rainer
    Message Edited by rrawer on 08-26-2005 11:25 AM

  • Usb visa control bulk in error

    i am trying to send data from my pic18f4550 programed using flowcode to the pc on labview using the usbrawbulk control example but i am unable to send or recieve the data the error i keep getting is the timeout error
    i am using proteus virtual usb simulator and i have generated the .inf driver file from visa driver wizard
    1)how can i get the brequest and brequesttype hex values to send and recieve data for the pic18f4550
    2)how can i use the labview visa read and write to communicate and fix the current error
    and thank you  
    Attachments:
    visaprob.jpg ‏616 KB

    Hi,
    I am not sure I can provide exact infomormation, but I recoomend you to read about here:
    - brequest and brequesttype: http://www.beyondlogic.org/usbnutshell/usb6.shtml
    You can find examples about LabVIEW USB Raw communication:
    - http://zone.ni.com/devzone/cda/tut/p/id/4478
    - http://zone.ni.com/devzone/cda/epd/p/id/3637
    - http://zone.ni.com/devzone/cda/epd/p/id/3622
    - https://decibel.ni.com/content/docs/DOC-2022
    - http://zone.ni.com/reference/en-XX/help/371361G-01/lvvisaprop/usb_raw/
    I hope you can find useful information there.
    Best Regards,
    Peter Vago
    AE Hungary

  • When using option right/left arrow in clip trimmer end point handle won't stick

    From the help menu:
    In the Clip Trimmer, do either of the following:
    Drag the handles at either end of the yellow clip selection to set a new startpoint and endpoint.
    Move the handles one frame at a time by placing the pointer near the handle that you want to adjust, and then holding down the Option key as you press the Left Arrow or Right Arrow key.
    Move the entire yellow selection box to the left or right by pressing the Left Arrow or Right Arrow key, or by clicking within the box and dragging. Using this technique, you can change which video frames are selected without changing the duration of the selection
    End of help menu clip
    The bug I've found is that when I place the pointer near the end handle I can hit option arrow and trim the end one frame forward or backwards but when I then hit option arrow a second time the start handle is trimmed.  Thus it is hard to quickly option arrow the end handle trim multiple frames without having to move the pointer each time before hitting option arrow.  Trimming the start point handle works like I would like as I can just keep hitting option arrow and the start point handle will trim a frame each time.  The end point handle should work the same way but it doesn't.  I'm on the latest ver 9.02

    Tea,
    One thing you can do to help yourself out is to create bookmarks to give you a visual reference for the beats in the music.
    You create a bookmark by choosing Bookmarks>Add Bookmarks or by typing command-b.
    So you can place your song in the timeline and then play it while tapping out command-b's to the beat of the music. You'll then have little green diamonds in the timeline to use as reference points.
    Similarly, you can choose View>Show Audio Waveforms to identify the beats in the music by seeing the peaks in the waveforms.
    These techniques should make it a bit easier to make your edits in time with your music.
    Keep in mind though, that your movie is built from left to right in the time line. When you edit a clip your clips will always slide in to take up any space to the left of the clip.
    When they do that, you can slide them apart again. Doing so will create a clip of black between them that can later be replaced.
    One last thing to mention. If you select your music track and then choose Advanced>Lock Audio Clip at Playhead you can then slide a clip around and the locked audio will move with it.
    It's a bit quirky I've found, but may also be useful.
    Matt

  • HT201210 on my iPad I get an image of the USB connection and an arrow pointing to the itunes icon for a few seconds then it switches off.  connected  to itunes via USB get a message that itunes has detected an ipad in recovery mode must restore when i do

    When I havent got my ipad connected to a power supply I get an image on my ipad of the usb cable with an arrow pointing to a itunes icon and no matter what you try and do iyt stays on that for a few seconds and then switches off the ipad, connecting it through usb into itunes on my PC (XP) this image says on the screen but I get a message on itunes saying itunes has detected an ipad in recovery mode and mneeds to be restored - when I fire off the restore through itunes after a few minutes it comes back and says it cannot restore and give an error message 1603.  I have also repeated the process through my wife's laptop (Vista) and get the same situation -it is an 32GB Ipad 3 purchased last November -  any ideas ?

    Try and turn off iPad/iPod and proceed to step 3 of Recovery Mode.
    Recovery Mode
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    3.While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: Data will be lost. You may have to repeat the above many times.

  • New Xperia Z1 wifi problem 14.4.A.0.108 (Multiple access points)

    Hi,
    I recently got a replacement Xperia Z1. This phone was immediately updated to the latest firmware (ending with 108) so I do not know if this problem existed prior to the update.
    My problem is that the phone thinks it's still coneected to a wireless network even when it's not which prevents the phone from reconnecting when in range of a new network.
    When it's working it looks like this: (same signal strenght in both the top bar and the settings)
     When it's not working it looks like this (sifferent signal strenghts when compring the settings and the top bar)
    And I'm 15km away from my home network
    To make it work again I only have to turn off wifi and then turn it on again.
    This screen shows for about 10 seconds when the problem has occured (instead of usually 1-2 seconds)
    I've already tried to reset and reinstall the firmware.  Is this an hardware error or has this something to do with the latest update?
    //Mikael

    An Update:
    I've found that this problem only occurs on networks with multiple Access Points and when the phone is switching from on AP to another.
    If the problem occurs the network stays "connected" even though I leave the area as described in my first post.
    Does this help? 
    I've tested on several networks.

  • TS1538 I was attempting to update iphone 4s today, laptop went flat during the last stages. The iphone now only displays USB cord, with an arrow pointing towards iTunes emblem. iTunes will not accept/read the iphone. HELP??

    I was attempting to update iphone 4s today, laptop went flat during the last stages. The iphone now only displays USB cord, with an arrow pointing towards iTunes emblem. iTunes will not accept/read the iphone. HELP??                   

    If you have the latest version of iTunes you should not have to download the ipsw file separately as jalp suggests. iTunes will download it automatically.
    This error (9) most often means that your antivirus or firewall (or router) is blocking access to Apple's servers. In rare instances it can also mean that the phone was hacked (or "jailbroken") to unlock it. If this is the case you must do a DFU restore, not Recovery Mode, as follows:
    Reboot your computer
    Disable your antivirus and firewall. If you has Kaspersky you may actually have to uninstall it, as it can never be turned completely off.
    Connect the USB cable to a USB port directly on your computer, not to a hub. DO NOT connect the other end to the phone
    Disconnect all USB devices except for mouse, keyboard and iPhone cable.
    Launch iTunes
    On the phone hold the HOME and SLEEP buttons at the same time for EXACTLY 10 seconds, then release the SLEEP button but continue holding the HOME button. The screen should be black. If it has an Apple logo this means you held both buttons too long. Release the HOME button and do it again.
    While holding the HOME button connect the free end of the cable to the phone.
    After a short while iTunes should recognize a phone in "recovery mode" (iTunes doesn't know the difference between DFU and Recovery modes, but the phone does)
    Release the HOME button and don't touch the phone or the computer until the process completes or you get an error message. Ignore any displays on the phone.
    If the error recurs the phone was probably messed up when it was hacked. This is not a hardware problem, or if it is, it isn't one you can fix.
    You can try repeating these steps with a different computer and a different cable. If that fails also the phone is probably not repairable.

  • HT1414 I Pad is frozen with a picture of a USB cable with an arrow pointing to an icon of itunes

    IPAD is frozen with a picture of a USB cable with an arrow pointing to an icon of itunes? Can anyone suggest a fix

    You are in Recovery Mode. Follow the instructions below to recover your iPad.
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release the Sleep/Wake and Home buttons.
    3. While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button.
    5. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: You need to be patient and repeat the above many times to recover your iPad. Data will be lost.

Maybe you are looking for

  • How do I use VLC web plugin 2.0.6.0

    I,m trying to watch some RTSP files. A google search turned up how to configure VLC to play these files. I followed the instructions and it worked although with a clumsy copy and paste the video URL proceedure. I then found a suggestion that this plu

  • Monitors

    I purchased an hp pavilion slim line 400-034 pc with window 8 to hook up dual moniters but only one is working. I have hooked up the dvi to vga and got an adaptor dvi-d to vga to hook up both mointers. they are both hp L1906 mointers. I bought it to

  • Can anyone fix my Bing Seach XML/CSS problem?

    I can still search but I get results like shown in the attachment, and the other search options such as Local and Media are unavailable, showing the same messed up screen as the standard search. Can anyone help? It's a brand new 620 just a few weeks

  • [Solved: Im dumb haha] Login Manager on boot up without entrance-svn?

    Is it possible to have slim load up on boot up without using the entrance-svn package/daemon? Im running openbox, if that makes any difference. Thanks in advance. Last edited by hubble (2009-05-05 00:35:55)

  • CiscoWorks: How to receive reports in email attachment?

    Hi, Please guide me that how I can get scheduled reports in Campus Manager in email attachment. I am unable to receive email for the schedule reports saying error says that unable to connect the smtp on port 25. In the location CS->Server->System Pre