Using LabView to trade in the Futures markets.

Hello
I am retired and trade stocks and futures contracts using the TCP read/write
vi's in LabView and the Interactive Broker's API interface .
Anybody doing the same that would like to exchange ideas? I appear to be
the only one on the IB programming forum that uses LabView.
Everyone else seems to use C++, VB, or Java.
Poor guys, they don't know what they're missing.
Leno

Hi Togos,
Can you tell us more about what you are trying to do. This question can be read many ways from an IB API question to just wanting to know about the Event Structure.
If you just want to know how to handle events from the TWS, then you would process those events using an event structure. You might want to take a look at this video about design patterns. There is also a great developer zone here.
Joe Daily
National Instruments
Applications Engineer
may the G be with you ....

Similar Messages

  • HT1338 My macbook came with snow leopard, if  I upgrade to Lion will I be able to use my restore disks in the future and if I do use my disks that brings me back to snow leopard, Will itunes remember I purchased Lion or will I have to purchase a second ti

    My macbook came with snow leopard, if  I upgrade to Lion will I be able to use my restore disks in the future and if I do use my disks that brings me back to snow leopard, Will itunes remember I purchased Lion or will I have to purchase a second time ?

    At this point, you can no longer download Lion (10.7) from the App Store, only Mountain Lion (10.8) - make sure all your applications are fully compatible if you decide to upgrade.
    Yes, you can restore 10.6 using your restore disc should you wish to - and the App Store (not ITunes) will have a record of all your purchases, since it's linked to your AppleId.
    Matt

  • Using LabView to Programatically Specify the Module of a TestStand Step Problems

    I am writing a LabView App that generates TestStand Sequences.
    When programatically 'specifying the module' of a TestStand Step calling a LabView VI, is it possible to set the values of the parameters passed to the VI by Name?  I am currently creating steps fine, but the only way I can set parameter values is by using the parameters index. 
    It would be really nice if I could reference the parameters by the name specified in the VI rather than the index derived when the VI is created.
    Any ideas?
    Steve
    There are 10 types of people in the world that understand binary, those that do and those that don't.

    Hi Steve,
      you've also posted this on the TestStand forum and it's been answered there.
    For anyone else looking for the approach :
    http://forums.ni.com/ni/board/message?board.id=330&message.id=9585
    Thanks
    Sacha Emery
    National Instruments (UK)
    // it takes almost no time to rate an answer

  • How to use Labview ""buttons"" to functioning the program?

    i'm trying to use the ok button to operate the program to add the value in the  cluster X Y (millemetre) [which is from the machine vision operation] with the value X Y offset [which i gonna input them myself] but .. i dont' know how to make it done , now i'm trying to use event structure but it's not working
    plz give me some advice thanks ... by the way i'm got to make this thing done by 3 days due to my project schedule ... thank you
    also this software is to locate the orientation for robot to grip the object by using CCD camera
    Message Edited by NuMetal on 01-04-2010 10:55 AM
    Message Edited by NuMetal on 01-04-2010 10:55 AM
    Solved!
    Go to Solution.
    Attachments:
    Project1.vi ‏97 KB
    1.jpg ‏92 KB

    Place the Event structure inside a while loop. Have a look at some of the examples that ship with LV, they for sure show this.
    Then use the value change event for the ok button (place the button's terminal in that fram to have the latching behaviour set correctly).
    You can pass the data of XY to the loop output in the same event frame to read it at the very moment, the ok button is pressed.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • How can I change the names of the Excel Worksheets using LabView?

    Hi Everyone...
    I want to start a project but I want to be capable to create and change the names of the worksheets in excel using LabView.
    We know the default name of the worksheets (Sheet 1, Sheet 2...)
    Can I make this change only using labview with some activeX, properties and methods...
    Best regards...
    Mexico
    LabView 8.0

    Hello,
    Yes, you can modify the name of an Excel Sheet with ActiveX property Node or Invoke Node.
    There are some good examples in the NI Example Finder of Labview on "Communicating with external Applications -> ActiveX -> Excel ->..."
    To modify the name of a sheet, you need to use the property "Name" of the reference "Sheet"
    Best regards
    Nick_CH

  • I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages.

    I am trying to use Labview and RP1210 compliant hardware to connect to a truck J1939 bus and receive messages. 
    Specifically I am attempting  to read data frames using the RP1210_READMESSAGE .   am able to configure the hardware and send a message to the J1939 bus. .    I think I have not configured something correctly.  I can use the RP1210_SENDMESSAGE and see the message I have sent on the bus using CANalyzer   When I use the RP1210_READMESSAGE   I get the timestamp from a message and the return from the function sends back the correct number of bytes (the number matches the number of bytes I sent out plus four bytes from the timestamp).  What I am having trouble with is actually receiving the data. I have had the same type of behavior from two different hardware (Vector CANcase XL and Nexiq USB Link), so I don't think the issue is vendor specific.
    Has anyone been able to make the RP1210_RECIEVEMESSAGE function work correctly?
    Thanks for any help

    Thanks
    I have already tried that.  The links are the NI RP1210 wraper. The problem I am having is using labview to interface with the RP1210 layer.  The RecieveMessage char*fpchAPIMessage this is the output which is a pointer to a cahracter array.  In this variable I can receive the timestamp of the message but not the message.  The retun showns the correct amount of bytes are aviaable (18 for a 8 byte message) but I can only get the 4 byte timestamp  I think I have to dereference this pointer to view the data.  I am not sure how to fix this. 

  • Process Failure when communicating over MODBUS using LabVIEW 2011 and DSC

    I'm currently trying to read from a PLC's holding registers using MODBUS/TCP. I've confirmed that the PLC is updating the values and responding to MODBUS communication correctly using a third party program called Modbus Poll. However, when I try to poll the PLC using LabVIEW's shared variable engine, I am unable to read any values from the same addresses that I'm viewing with Modbus Poll.
    My setup simply consists of a PC connected directly to the PLC over Ethernet, with no router in between. I am using LabVIEW 2011 SP1 with the DSC module.
    I opened the NI Distributed Systems Manager to view the status of all shared variables in the Modbus library that I created and I've noticed that the CommFail bit is permanently set to "true". All other variables with a "read" access mode report "Process Failure". I've tried restarting the process as well as stopping and starting the local variable engine with no success. I've also restarted my computer several times to see if any services were failing, but this does not seem to have fixed the problem.
    I finally resorted to monitoring communications over the network card that I have the PLC plugged into via Ethernet using Wireshark and I've found that while Modbus Poll is communicating with the PLC, many MODBUS and TCP packets are sent and received. However, when solely using LabVIEW or the NI DSM to communicate with the PLC, there does not appear to be any communication over the network card.
    Something that may be worth noting is that I was able to communicate with the PLC and read values from it with the DSM on just one occasion, when I first figured out which addresses I should be reading from. It all stopped working shortly thereafter. Prior to this, "CommFail" was not usually set to "true" with my current configuration. Thinking that it was my firewall, I have since turned my firewall off, but this seems to have had no effect on the problem either.
    Any help on this matter would be appreciated.
    Solved!
    Go to Solution.

    Just a thought but I think the  register addresses used by LabVIEW are one off of the actual register #.  I was using a CRIO as a modbus IO Server and had to shift the register addresses by 1 to get things to work correctly (can;t recall if it was +1 or -1).  This is documented somewhere on ni.com but can;t seem to find it now.  But here is another  link that may help:
    http://zone.ni.com/reference/en-XX/help/371618E-01/lvmve/dsc_modbus_using/
    Dan

  • How to implement a callback function using LabView's Call Library Function Node?

    I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
    me and I do not have the source code, just the .dll and .h files.
    The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
    callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
    Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
    this one out. I am using LabView 8.6.
    The SDK.h deacribes the function as:
    //  Function:   SdkSetPropertyEventHandler
    SdkError SDKAPI SdkSetPropertyEventHandler(
                SdkCameraRef                    inCameraRef,
                SdkPropertyEvent                inEvnet,          
                SdkPropertyEventHandler         inPropertyEventHandler,
                SdkVoid*                        inContext );
    //  Description:
    //       Registers a callback function for receiving status
    //          change notification events for property states on a camera.
    //  Parameters:
    //       In:    inCameraRef - Designate the camera object.
    //              inEvent - Designate one or all events to be supplemented.
    //              inPropertyEventHandler - Designate the pointer to the callback
    //                      function for receiving property-related camera events.
    //              inContext - Designate application information to be passed by
    //                      means of the callback function. Any data needed for
    //                      your application can be passed.
    //      Out:    None
    //  Returns:    Any of the sdk errors.
    A separate header file called SDKTypes.h contains the following data:
    typedef  SdkUInt32  SdkPropertyEvent;
    typedef  SdkUInt32  SdkPropertyID;
    typedef  void       SdkVoid;
    typedef  struct __SdkObject*    SdkBaseRef;
    typedef  SdkBaseRef    SdkCameraRef;
     SdkPropertyEventHandler
    typedef SdkError ( SDKCALLBACK *SdkPropertyEventHandler )(
                        SdkPropertyEvent        inEvent,
                        SdkPropertyID           inPropertyID,
                        SdkUInt32               inParam,
                        SdkVoid *               inContext );
    Thanks for your help.
    Alejandro
    Solved!
    Go to Solution.

    alejandroandreatta wrote:
    I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
    me and I do not have the source code, just the .dll and .h files.
    The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
    callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
    Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
    this one out. I am using LabView 8.6.
    Basically you do not do that. LabVIEW does not know pointers and certainly not function pointers. What you should do instead is writing a C DLL that implements the callback and also exports a function to be called by LabVIEW that translates between the callback and a LabVIEW user event. Look for PostLVUserEvent() here on the NI site to find examples how to do that.
    Rolf Kalbermatter
    Message Edited by rolfk on 02-11-2009 08:00 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Testing of IC's in a PCB using LabVIEW

    There is a PCB with a lot of IC's. The IC's are mainly buffers,SRAM,PROM, ASIC's, CPLD's and FPGA. None of them are JTAG compatible i.e. no TDI/O pins available. However only one CPLD is JTAG compatible. Is there a way through which I can test the functinality of these IC's using LabVIEW?
    Without the JTAG interface, do I have any other medium through which my VI's can communicate with these memory IC's?
    one more thing is that I cannot remove any of the IC's from the PCB, they have to be tested while they are present in the board itself.

    sumukh wrote:
    There is a PCB with a lot of IC's. The IC's are mainly buffers,SRAM,PROM, ASIC's, CPLD's and FPGA. None of them are JTAG compatible i.e. no TDI/O pins available. However only one CPLD is JTAG compatible. Is there a way through which I can test the functinality of these IC's using LabVIEW?--Yes
    Without the JTAG interface, do I have any other medium through which my VI's can communicate with these memory IC's?  Not directly, of course.  You need to find out how you can communictae to the card.  Is it BDM, serial, USB, Ethernet, PCI, whaterver interface that allows to program PLD's, FLASH memory and can interface to the outside world.  LabVIEW can communicate with all that.  It may require additional hardware (BDM, JTAG, adapters).
    one more thing is that I cannot remove any of the IC's from the PCB, they have to be tested while they are present in the board itself. Of course.. That is usually how they are tested once they are integrated into the board (system)
    It sounds like this is the first time you do this.
    You need help beyond LabVIEW if that is the case.
    You first need to identify how you can interface to the board.  That step is required regardless of what language youuse to develop test software.  The ahrdware designers should be able to help you with that.

  • Macbook Pro use H.264 Format like the iPhone?

    Hi
    I know this may sound like a silly question, but I was wondering if MacBook Pro use the H.264 format like the iPhones and iPads do?
    I know that iphone and iPad have the H.264 Format in them as you can watch youtube videos on them.
    I am thinking of Macbook Pro something next and I really hate Flashplayer.
    Thanking you in advanced for the reply.
    SC87Returns

    I have a solution to this issue now after a discussion with Apple Support.  Some where in the last few weeks, there was a change in the key that would do a Show Desktop under the Mission Control settings in the System Preferences.  Even though the key sequence that was shown for the Show Desktop setting did not include the Left SHift key, by changing this first to having no key sequence and applying that and then changing it back to the F11 key, the Left SHift key issue that I was having has cleared up.
    A second issue that was uncovered was that the SSD had some issues (uncovered when I ran Disk Utility using the Repair Disk key).  I had to restart and use the Disk Utility through the Command R sequence to get to the stand alone Disk Utility.  The SSD appears to be running better as a result as well.
    Hope that this is of use to someone else in the future.

  • Future Market of Hyperion Essbase

    Hai All,
    I seek all of your views and opinions on how the future market of hyperion Essbase is going to be.I m thinking of going for a training on hyperion essbase.And especially how is the market in india and how is it going to be?Please ?

    Hi,
    DBAG stands for Database administrtor's guide .
    Its a freely downloadable PDF.
    ,whose link was already provided
    it is
    http://download.oracle.com/docs/cd/E10530_01/doc/nav/portal_3.htm
    It explains the basics and even the advanced topics of essbase very well.
    Sandeep Reddy Enti
    HCC

  • How to use LabView to control Primera Bravo II CD burner?

    I am trying to use LabView to control the Primera Bravo II CD burner and label printer. The software that controls the Bravo II is PTPublisher. How to use LabView to communicate/control the PTPublisher? Please help, Thanks

    Hi Qian,
    I installed PTPublisher on a virtual machine, and I was wondering what kind of tasks you wanted to control within LabVIEW.  From the program GUI, it appears like the only way to access functions is via mouse clicks.  Do you know of any other way to control the Bravo II CD burner besides the PTPublisher software?  If not, does the PTPublisher allow you to control it in some way other than clicking?
    Peter K.
    National Instruments

  • Will there be any Eucon support in the future?

    Hey,
    I don't know if the question is allready asked, I didn't found anything in the forum.
    I'm using an Artist Color by Avid, former Euphonix and it would be nice if I can use it in Speedgrade in the future.
    Does anybody know any further?
    Thanks,
    MN

    I'd suggest using the standard Adobe wish/request/bug-report form ... and asking for it. You can find the address on the Overview page for all the Adobe forums, in the header above the list of "discussions".
    Neil

  • I want to make a web page using labview.

    I want to make a web page using labview. I have the internet tool kit. Where do I start. Till now all I have used labview is for industrial I/O and mmi. I have used various TCP UDP comms for network purposes, but I haven't ever done anything with Web page design.

    The internet toolkit has some functions for generating and manipulating HTML, but it isn't really intended as a Web page authoring tool. I personally wouldn't use it for such a purpose, and I've done a good bit of Web programming in various different environments, including LabVIEW.
    The true power of the internet toolkit lies in its ability to create LabVIEW VIs to handle CGI requests, the way that perl or PHP might be used in more traditional Web development. In the old days, this was really the only way to provide Web interactivity with LabVIEW on the back end. Here is a document that outlines how to start up the toolkit's Web server and check out the CGI examples that ship with LabVIEW. This is the best jumping-off point for creating your own pages, if you are planning to use the CGI functionality in the internet toolkit. Just examine how the HTML pages and the CGI VIs in the examples work together and begin to try out your own VIs.
    Since LabVIEW 6i, LabVIEW has shipped with Remote Panel functionality that allows you to publish any LabVIEW VI in a Web browser without the burden of creating special CGI functionality. Furthermore, users can fully interact with the VI--buttons, graphs, string controls, etc. That's really a better solution if you want to make VIs available via the Web and aren't so much interested in CGI/transactional behavior. Check this out by choosing Tools >> Web Publishing Tool from LabVIEW.
    I hope this info gives you some ideas about starting points for Web functionality in LabVIEW. Please follow up if you have more specific questions.
    Best Regards,
    John

  • How to create a software that has a 90millisec​onds of inverval of execution using labview?

    i want to ceate a software that will activate pulse generator instrument 90 milleseconds after i have activated power supply. i want to do it using labview software. thank you

    In the Time and Dialog functions is a VI called Wait (ms). This VI waits the set number of ms before continuing. You may want to put it inside a single frame sequence to force data flow. (i.e. you have an error output from the previous function that you wire to the single frame sequence with the wait inside and then wire it out again to your next VI. This will force the "correct" execution order.)
    If you are using Windoze, then you should be aware that there will be a certain variability in the timing due to Windoze multi-tasking (or at least what they call multi-tasking).
    Rob

Maybe you are looking for

  • Hi plz help me urgent on smartform

    hi all, i created one PO smartform in second page(last page) terms and conditions page that is not printed.i given in page 2 output options i given page2.in page1 output options page2.but it is showing dump error. Thanks, murali.

  • GETWA_NOT_ASSIGNED in ALV Grid

    Hi all, I am getting runtime error (GETWA_NOT_ASSIGNED) while printing data from print option in ALV Grid. Can anyone help. Thanks in advance. Pranav

  • How do i disable sound effects for titles in imovie on ios?

    Hi, I just got imovie for my iphone.  Not bad so far.  Except: how do I turn off sound effects for titles?  I just want to add titles to my movie like regular imovie on my mac (or even windows movie maker).  However each subtitle has a sound effect -

  • Variant config- setting the price in vk11

    Hi, wht will be the basis to set the cost for each variant in vk11? i mean how to estimate the cost of bom and routing (selected only) for each variant on basis of which approximate price will be mentioned in vk11?

  • Something wrong with onboard speakers?

    Hey there everybody...I'm the proud new owner of a 12" iBook G4 that I love, it is the perfect laptop for me. Anyways...I've just noticed that the Apple sounds (like the "bong" and the iChat sounds) are distorted and scratchy when they come through m