Jump to content

Wim

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Wim

  1. Perhaps this will be of some help.

    Also, your snippet fails to open it on my Win 7 Pro machine.

    I have the same problem as the last post there.

    For now I have a workaround.

    i copied the osk from WinXP and renamed the exe. I put this exe into my project and i can open it.

    For now this is ok.

    But it would be better if i can just open the osk form the operating system.

    Cheers

  2. All,

    I'm working on a project that will have a touchscreen in a separate room.

    I want to open the windows on screen keyboard.

    I attached a snippet.

    This opens the on screen keyboard in Win XP, VISTA but it does not work on Win7

    Can someone help me out ?

    Thanks.

    EDIT:

    If I manually type the command then it opens the osk, but with LabVIEW it doesn't work.

    post-12590-0-00373700-1309980040_thumb.p

  3. Hi,

    I had almost the same issue with an XP VM on a vista host.

    My VM showed a bluescreen when I connected the USB device.

    I'm using VMware workstation and I upgraded the version of the Virtual XP to workstation6.5 and the issue was solved

    (Before booting the virtual XP: choose VM>>change version ...)

    Don't know why it solved the issue, but it solved it :rolleyes:

    Maybe this can work for you.

    Wim

    • Like 1
  4. Hi PatK,

    in the executable build specs (Category: Advanced) you can check 'include my computer hardware configuration'.

    With this option, all the DAQ tasks from your project will be put in a NI-DAQmx.ini file and loaded when you start the exe.

    Otherwise, if you create your DAQ tasks programaticaly ... maybe the device name on the PC's differs: example on your pc it is cDAQ2 and on the other cDAQ1 ?

    I hope this helps.

    Regards,

    WIm

  5. Internet connection is ok. Standard LabVIEW activates through it :-) but is via the WiFi connection on the host system.

    The activation with the webbrowser does not work either for FPGA.

    I get the activation codes and copy the one for FPGA. When i enter this in the license manager i get: 'These activation codes do not correspond to any of the products you are activating'

    frusty.giffrusty.giffrusty.gif

  6. Hi all,

    I'm having some problems with registering LabVIEW FPGA 2009 SP1 module in a VMware.

    I'm starting a long term project in LV2009. I also need DAQmx and FPGA.

    So i made a new VMware (XP Pro SP2) with 20GB of harddisk (VMware workstation 6.5)

    I installed: LV2009 SP1, DAQmx 9.0.2, NI RIO 3.4.0 and the FPGA 2009 SP1 module. So far so good, but then I want to activate the installed products....

    We have a Dev Suite license that has not expired so all should work without any problems.

    Standard LabVIEW activates in a few seconds but FPGA won't register.

    I called NI and they say that our serial number is valid and that my requests to register FPGA are 'Assumed activated'. However in my VMware count down of 30 days has started ....

    Does anyone else had the same problem ? And did you find a solution for it ?

    Thanks.

    Best regards,

    Wim

  7. Hi all,

    I went to my customer today to do some tests and guess what ... problem solved laugh.gif

    Solution:

    ------------

    - pc had errors in the eventviewer:

    Event Type: Error // Event Source: crypt32 // Event Category: None // Event ID: 8 //

    Description: Failed auto update retrieval of third-party root list sequence number from: <http://www.download.windowsupdate.com/msdownload/update/v3/static/trustedr/en/authrootseq.txt> with error: This network connection does not exist.

    For more information, see Help and Support Center at http://go.microsoft....ink/events.asp.

    The admin was available so he did an update of this. But after logging in as the operator, the problem was still the same.

    Then we found a solution here. We made the operators local admin and disabled the auto update of the root certificate for XP. (local admin was needed because of the campanies security policy)

    Startup time after this: 15secondsthumbup1.gif

    Thank you all for the info and hints to solve the problem. Maybe this solution can help some of you.

    Regards,

    Wim

    • Like 2
  8. All,

    already thanks for all the help. But untill now i didn't have a chance to do some testing. Thursday is D-day.... hopefully I can find the problem.

    One more question: in the config file of my exe i see the following key: server.ole.enabled=True

    If I put it on false, all seems to work on my pc.

    Can anyone tell what that key stands for ?

    I found this on the LabVIEW Wiki: Description: Enable the local LabVIEW OLE/ActiveX server

    I don't need active x (it is disabled in my build specifications) but this key is always set to TRUE in the ini-file

    Regards,

    Wim

  9. Hi Ton,

    after meeting at NI Days NL, we meet again at Lava ;)

    I agree that 1 GHz isn't that much.

    Plugins are loaded at start of a test so not at startup of the application. So they are not the reason for the long loading time.

    The PC is connected to the network. I asked my customer to try starting the application with the WiFi connection turned off. Hopefully I know the result tomorrow.

    But in the end i need this connection to store reports on a network drive.

    Maybe a stupid question, but how can I check if the swap-file is used ?

    Some more info:

    If i start the app, it appears almost instantly on the windows taskbar. In the taskmanager it shows some CPU activity and allocates some memory. Then CPU activity goes to zero. After a few minutes, CPU activity goes to 25% for a few seconds and then the frontpanel opens and evrything runs smoothly (also the plugins)

    I hope this extra info helps.

    Regards,

    Wim

    Asbo: you posted while I was typing :shifty:

    The first thing i do in the application is create a logfile and this happens a fraction of a second before the frontpanel opens. So it is not the 'initialisation'code.

  10. Hi LAVA's,

    I need your help, please. I have made an application for a customer in LV2009.

    On my pc (VISTA 32bit) and on a Virtual machine (XP and similar specs as customer pc) it takes 10s to startup.

    On my customer's PC it takes about 5 minutes to start. :wacko::frusty:

    Some info:

    The application has a plug-in architecture.

    The 'testengine' is a string based statemachine.

    Plugins are by value classes that are loaded depending on the chosen test Sequence

    In the testengine, I use 1 class to read a config file and I use VISA to read a serial port (barcode-scanner)

    The tests are as told above By Value classes. The tests'method 'execute' is a string based state machine that uses 4 By ref classes to read sensors and adjust valves with DAQmx.

    A testSequence exists of about 6 steps so no big tests.

    Once the application is started all works fine. No memory leaks (500MB of spare memory) , no CPU that is stuck at 100% etc etc.

    Info on the pc that runs the application:

    panasonic CF-19 Toughbook - intel centrino duo 1GHz - XP 2002 SP2 but vista capable - 1GB RAM - 3GB free diskspace.

    I've made a few test vi's and made an exe of them:

    test1: while loop with event structure and a stop button. Exe opens instantly

    test2: Same as above but I read a DAQ task that is in my project. Exe opens instantly.

    So... slow startup is not due to loading LV runtime or DAQ mx.

    The customers PC has a very strict security policy. (i can't even change a key in an ini-file in the program files/... folders.):blink:

    Can someone help me to solve this issue.

    Thanks in advance.

    Regards,

    Wim

    Just noticed a similar post here.

    but I do not use a .NET picture control

  11. Yep, tried it.

    yesterday evening i had a frontpanel in 8.5 with a nice control on the left side of the screen and one in 8.6 with not nice lo0king control on the right side.

    When I switched to winclassic, the 8.5 control switched to classic, 8.6 control remained the same.

    Then switched back to Vista theme and 8.5 followed, 8.6 remained the same ....

    I was thinking of a reinstall of 8.6 but ... probably it is a registry key that will remain the same after reinstall.

    I'm guessing this is the time where I should make a complete backup and reinstall the system ... Weatherforecast gives snow for the weekend so maybe it is a good time to reinstall.

  12. More extra info: in development UI looks messy because of the bad system controls.

    But when I build the application, the UI of the exe looks exactly as I want it on a VISTA machine ....

    I tried the Repair installation ... it took ages ( 2hours) but no result.

    And an extra: LV help in 8.6 doesn't work either and off course on 8.5 it works :throwpc:

  13. Hi LAVA,

    A week ago i swicthed my vista machine to win classic theme and back to vista theme.

    Since then, my system controls look like 'XP' controls in stead of 'VISTA'controls.

    Can someone help me to restore this ??

    Thanks.

    Wim

    Some extra info: I have LV 8.5.1 and 8.6 on my machine. 8.5.1 is still ok, it's only in 8.6 :frusty:

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.