I'm working with ComponentWorks and V

isual Basic. When I try to plot a graph(on a VisualBasic Active X page using CWGraph) with the data that has been acquired from a datasoket server, I get a run-time error 5 that says "array dimension mismatch". Does anybody have a solution to this problem?

isual Basic. When I try to plot a graph(on a VisualBasic Active X page using CWGraph) with the data that has been acquired from a datasoket server, I get a run-time error 5 that says "array dimension mismatch". Does anybody have a solution to this problem?You must make sure that if you store the data array in the event handler you set up for OnDataUpdated into a new array, that it is the same size as the array parameter to the handler "Data". Also you should use the attributes found in the CWDatasocket.Data member to see how the data is formatted on the socket and make sure your array matches.
What else you might try if you have ComponentWorks 3.0 is try binding your CWGraph object through its property page to the url of your socket on the server. This way you can avoid any programming mishaps altogether. If you want you can still have access to the socket updating events directly through the graph control's own CWbindings object. This keeps you from having to use the CWDatasocket control altogether. Use VB's object bro
wser to look at all of the members of the control, and also look over the ComponentWorks online help for more information.
So to summarize, make sure that you are not trying to put the data into an invalid array, and also try out the cool binding features if you have them.
Jason Foster
Applications Engineer
National Instruments
www.ni.com/ask

Similar Messages

  • FaceTime no longer working with Yosemite and IOS 8.1

    I have used FaceTime flawlessly for some time with no issue.
    After I upgraded to Yosemite on my MacBookAir and IOS8.1 on 5S and iPad air, I've had a problem connecting.
    When I get a call, all the devices ring (as they should) but it will not connect on the first device I pick up on.  It says connecting
    but all the other devices keep ringing and finally it says I have a missed call.  The connection does not happen.  If I turn off
    all devices except one, it will work...... do we have a bug here??

    Thank you for responding to my issue.  I spent the better part of two hours trying to get this to work.  Bluetooth is enabled on all devices. Each computer is set in Preferences/General to allow Handoff.  All computers and iPhones are on the same WiFi network.  I toggled all of the major settings off and on.  Rebooted each of my computers several times. I finally conceded defeat.  Then my daughter asked to have a try at it.  She worked on the first MBP for about thirty minutes and informed me that she had gotten continuity to work.  And indeed, on her MBP late 2012 she is able to use the continuity features in both directions between her computer and her iPhone 6.  But it only works with Mail and Safari.  I asked how she accomplished this feat.  She said she turned off "everything" on her computer and iPhone (WiFi, Bluetooth, "Allow handoff" under Preferences/General) and then rebooted both the iPhone and the computer.  She then turned everything back on.  This worked for her.  So we tried the same thing on my MBP and iPhone 6.  Now continuity works partially. Email activity is mirrored on both the MBP and the iPhone regardless of which device initiates the continuity activity.  But Safari activity on the computer is mirrored on the iPhone but not in the opposite direction.  There is no continuity function for Pages in either direction.  The telephone connectivity works fine on all of my devices– 3 MBPs, Mac Pro, iPad Air, 2nd gen iPad and 3rd gen iPad.

  • Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Looking for an app that works with Mac and iPhone that will set calendar reminders of birthdays in contacts.

    Hi ron1098,
    Try my application Dates to iCal. it runs on the Mac, but you can sync the calendar to your iOS device.
    See more about Dates to iCal here. It is £4 shareware with a 2 week demo.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Handoff not working with Yosemite and iOS 8

    I have three Macbook Pros in my household.  Two are mid 2012 models and the other a late 2012 model.  Each is supposed to support the handoff feature of Yosemite and ios8.  Everything seems to work properly between my daughter's late 2012 MBP and her iPhone 6.  But on the other two MBPs in our family the continuity feature does not work on either of them.  Receiving and sending calls works fine.  But the continuity does not work even though all three MBPs and all three iPhone 6 are on the same wifi network.
    I've tried all the suggestions that I could find.  Toggling off and on the various settings on the MBPs and the iPhones.
    John

    Thank you for responding to my issue.  I spent the better part of two hours trying to get this to work.  Bluetooth is enabled on all devices. Each computer is set in Preferences/General to allow Handoff.  All computers and iPhones are on the same WiFi network.  I toggled all of the major settings off and on.  Rebooted each of my computers several times. I finally conceded defeat.  Then my daughter asked to have a try at it.  She worked on the first MBP for about thirty minutes and informed me that she had gotten continuity to work.  And indeed, on her MBP late 2012 she is able to use the continuity features in both directions between her computer and her iPhone 6.  But it only works with Mail and Safari.  I asked how she accomplished this feat.  She said she turned off "everything" on her computer and iPhone (WiFi, Bluetooth, "Allow handoff" under Preferences/General) and then rebooted both the iPhone and the computer.  She then turned everything back on.  This worked for her.  So we tried the same thing on my MBP and iPhone 6.  Now continuity works partially. Email activity is mirrored on both the MBP and the iPhone regardless of which device initiates the continuity activity.  But Safari activity on the computer is mirrored on the iPhone but not in the opposite direction.  There is no continuity function for Pages in either direction.  The telephone connectivity works fine on all of my devices– 3 MBPs, Mac Pro, iPad Air, 2nd gen iPad and 3rd gen iPad.

  • I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.  Will Time Capsule work with this and how?

    I like the idea of auto back-up for my new iMac, Ipad and PC Netbook, particularly if I can access all files and data stored on any device.  But I have a Conceptronic router.
    1. Will Time Capsule work with this and how?
    2. Can my printer USB be plugged in and then shared between the devices?
    3. Can I create a network and how?
    4.  What happend when a visitor logs onto my existing wireless router?
    I'm new to Macs (well a returning user having started with Mac Plus!!) and not very technical.  Any help / advice will be much appreciated.
    Ray

    The key to what you seem to want to do is to be able to get Apple's Time Capsule router to "join" the network that your Conceptronic router.  I believe that works with some third-party routers, but I've never seen a list of those that work in such a configuration and I have no experience with Conceptronic equipment.
    You might be better off with a Network-Attached Storage (NAS) device instead of a Time Capsule.

  • I am considering buying an iPad 3. I have an iMac with OSX 10.6.8. On the iMac I have many photos and work with iPhoto and Photoshop Elements on the computer. Can I interchange or transfer photos and other work from the iMac to the iPad? How?

    I am considering buying an iPad 3. I have an iMac with OSX 10.6.8. On the iMac I have many photos and work with iPhoto and Photoshop Elements on the computer. Can I interchange or transfer photos and other work from the iMac to the iPad? How?

    velma Monreal wrote:
    I am considering buying an iPad 3. I have an iMac with OSX 10.6.8. On the iMac I have many photos and work with iPhoto and Photoshop Elements on the computer. Can I interchange or transfer photos and other work from the iMac to the iPad? How?
    Yes you can. In iPhoto create a Album with the photos you want in it. You can drag them from your Events folder. In iTunes with your iPad connected go to Photos by cliking on your iPad. You can then select the album or events you want.

  • Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click w

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

    Hello, I have a Mac computer with NVIDIA 750M dedicated graphics card and monitor EIZO but the problem was there when I was working with Windows and Acer monitor. When I open a file from Camera Raw in PS this is smaller than the screen so I double-click with the tool "hand" to fit on the screen, but the picture loses sharpness and becomes blurry. If you magnify the image even only slightly with the tool "zoom" the picture comes back clear. In Camera Raw instead is always sharp. I solve the problem by turning off the graphics card in PS but often use plugin that need the graphics card otherwise the processing time is much longer. I ask for help.
    Thanks.

  • Internal Microphone not working with Quicktime and some other apps, yet it does for Skype.

    Internal Microphone not working with Quicktime and some other apps, yet it does for Skype. 
    Microphone works fine with Quictime on another mac, so I do know how to use it. The one where it is not working (A) had an external microphone and camera attached earlier, and indeed it does work with that external microphone, but not with the internal microphone selected; and (B) had RealPlayer installed previously.
    Any suggestions, please?

    Hi,
    Download Audio driver from here.
    Intructions how to install it in Vista/Win7.
    Extract this driver with Winrar.
    Open Device manager and expand the Sound, video and game controllers section.
    Right click on Either the High Definition Audio Device if you have the generic Microsoft drivers, or the Conexant High Definition SmartAudio 221 if you have older Conexant drivers and choose "Update Driver Software..."
    Click Browse my computer for driver software, then click "Let me pick from a list of device drivers on my computer"
    Click "Have Disk..." then Browse to the folder where the drivers were extracted  .......\V64 for 64-bit Vista/Win7. Click OK.
    Select one of the "Conexant High Definition SmartAudio 221" models in the list, there will be multiple identical entries.
    Click Next, and you're done.
    I'm not sure which one from the list will work for You.
    This drivers weren't test. So if You will try them and it will work for You let us now about.
    ** Say thanks by clicking the "Thumb up" icon which is on the left. **
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **

  • Device not working with Log and Transfer in FCP

    I am trying to get some footage off my camera into final cut pro, but Final Cut Pro does not recognise my device when I try to use Log & Transfer
    The camera is question is a Cannon Legria FS20, here is a link
    http://www.canon.co.uk/ForHome/Product_Finder/Camcorders/flash_memory/LEGRIAFS20/
    I have looked around but can't seem to find any plug-ins to get it to work with Final Cut Pro, does anyone know any way I can get it to work with Log and Transfer
    Upon inspecting the hard drive, it saves video files in .MOD format with an .MOI file (which i assume is a metadata file
    How can I get it so that my device works with log and transfer?
    Thanks

    Hi -
    I did a little Google searching for information on your camera and it appears that it is a Standard Definition Camera that records in the MPEG-2 format.
    Log and Transfer only works with High Definition material.
    You will need to convert your video clips into a format that will work with FCP.
    I know nothing about working in PAL, but you want to download an free application called MPEG Streamclip from
    http://www.squared5.com/svideo/mpeg-streamclip-mac.html
    This application will convert your MPEG-2 files into a format that you can use directly in FCP.
    Once you have converted the files to Apple DV-PAL, with the correct frame rate (25fps?) and field dominance you can either simply drag the converted files into FCP or import them using File > Import.
    Hope this helps.
    MtD

  • HT4437 The airplay on my i pad works with music and pictures but I cannot get it to work with safari and mirroring.  Does anyone know what I could be doing wrong? Thanks!!

    The airplay on my i pad works with music and pictures but I cannot get it to work with safari and mirroring.  Can someone help me to get things working?  Thanks!

    As an IT person, I can put my hands up to the same difficulty.  Then on double clicking on Home button, find AirTV symbol amongst Music control
    Solved my problem having spent hours looking for a complicated answer.  Well done Apple for hiding it so well.
    Brian

  • Dear Apple's people, please note that "Lightning to 30 pin Adapter" don't work with iPhone5 and iPhone5s "Base Dock"  !!!!

    Dear Apple's people, please note that "Lightning to 30 pin Adapter" don't work with iPhone5 and iPhone5s "Base Dock"  !!!!

    Ho comprato un adattatore originale Apple "lighitning to 30 pin adapter" per poter usare i mei vecchi cavi dell'iPhone4 con il nuovo iPhone5.
    Se collego l'adattatore (con il vecchio cavo delliPhone4) direttamente all'iPhone5 , tutto funziona.
    Ma se collego l'adattatore (con il vecchio cavo delliPhone4) all'iPhone5 tramite la "base dock" , l'adattatore non viene riconosciuto e non funziona.
    Pensando che l'adattatore fosse rotto, ho riprovato con altri identici adattatori originali, ma il risultatato è lo stesso.
    Quindi penso che potrebbe essere un errore di progettazione della base dock che supporta unicamente la connessione diretta tramite un cavo lighning e non supporta la connessione se in mezzo c'è l'adattatore !!

  • I want to ask that i have passed my 10th and i am doing diploma in Mechanical Engineering. So i want to work with apple and wants to lean more from them. So how i can this company as a studying student?

    I want to ask that i have passed my 10th and i am doing diploma in Mechanical Engineering. So i want to work with apple and wants to lean more from them. So how i can this company as a studying student?

    [http://support.mozilla.com/en-US/kb/Managing+file+types]

  • Cannot print "working with files and folders htm

    When I try to print "Working with files-and-folders" from a Google search, it only prints part of it. I have changed my destination folder to no avail. Thank you or any help, Jack Menendez

    What's the best method for moving all my nonsystem related stuff over to this new driveIan has provided you with the best solution, SuperDuper.
    But if you have a 250 GB external, you really ought to clone your entire system,(only about 3 GB) so you have a backup.
    I keep mine with a complete clone of my internal, that way it is easy to boot from the external and run utilities like Disk Utility, TechToolPro, DiskWarrior, etc. on the internal and vice versa.
    If you run into a problem with say Preferences and don't know which one is the troublemaker, just trash the whole pref folder and use the good one from the clone. Font problem, same deal. And, if diaster ever strikes, you can just boot up from your external and keep right on working - fix the internal when you have time.
    That's my 2 cents anyway
    -mj
    [email protected]

  • Hello , im working with hebrew and the dot  "." isnt correcting to right with the align , i know that in indesign u use with paragraph direction to correct it but here what should i do. sorry for my english

    hello , im working with hebrew and the dot  "." isnt correcting to right with the align , i know that in indesign u use with paragraph direction to correct it but here what should i do. sorry for my english

    You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
    and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money..

  • PC Webcam works with iChat and iSight

    Before I purchase a web cam for my PC I need to know if it will work with iChat and iSight. Will I need to install any third party software for my mac or PC?

    Hi Gene,
    You will need to make a choice between AIM and Trillian
    The AIM app is free but does not Audio only Chat to iChat users and has a very small pic.
    Trillian costs $25 for the Pro version to Video chat but has a Bigger pic and can do full screen. The Basic version can alos Audio only chat to iChat users. Trillian can also join other IM services.
    More info on setting up AIM on the PC http://www.ralphjohnsuk.dsl.pipex.com/page12.html and the XP Service Pack 2 firewall. The Firewall will need to have Trillain enabled though it as well if you use that.
    Ralph

Maybe you are looking for

  • TabNavigator Child Control Problem on Programmatic SelectedIndex Change

    I've got a TabNavigator that contains another TabNavigator as a child control on its second page. On the child TabNavigator there's a ViewStack and a couple of Accordion controls. On my first parent tab I've got a Button that, when clicked, programma

  • Problem in opening a document in ADF

    Hi, I have a command link to open a document in the DB. When I click the link, there is a window opened with two options. 'Save and Open'. If click any one of the options, again the same window is opened with the same options. Only the second time th

  • IPhone 5 shuts down after having 36% battery left.

    Okay so I have an iPhone 5 running iOS 6.1 I haven't had this problem at all until updating to 6.1 Everytime my phone hits 36% battery, it shuts down. It is not jailbroken either. When I try turning it on, the charging idicator turns on and that's wh

  • PDF driver only print .prn

    I've done a search and can't find any thing about this. When selecting "Adobe PDF" in the File--->Print section of any Office App (Word, Powerpoint, etc) Adobe asks where I would like the PDF file saved, but the only option in the File Type drop down

  • Access a RoleMapper instance directly?

    Is there a way to programmatically access a weblogic.security.spi.RoleMapper instance directly? I have an existing portal app in which roles were stuffed into the UUP through direct database access. I'd like to implement a RoleMapper for the roles, a