Labview 2011 with TruckSim 8.01 Automated Runs
Hello,
I have been using Labview on and off for a few months so I am still fairly new. I skimmed through the help files and various support and could not find the answer, but sorry if this is an obvious and basic question.
I am running TruckSim with Labview, changing various parameters and writing various performance measures to a file to see how the parameters effect the performance. Currently my only option is changing certain model parameters by hand between each run. I want to be able to let it run overnight and change parameters automatically.
Can anyone point me in the right direction as to how to make the .vi run unattended? Specifically, the .vi has to execute and write various numbers to a text file (got that part down), then stop the run, reset everything, change certain model parameters to new values, re-run the .vi, append the new results to the same file (I know how to do that), rinse and repeat several hundred or several thousand times.
I was loosely thinking I could stuff my entire while loop inside of another larger while loop and then I could use the loop counter from the larger one as the index of an array containing the parameters I want to change. So the 10th execution would go and grab the 10th value in my array'ed list of parameters. I haven't thought about how to reset the time counter and everything else to zero between runs. I see there is a 'run continuously' button. That would be fine and dandy if, between runs, I could persuade it to automatically change those parameters I need to change.
Thats the first question. Second question is much more straight forward. Using the write to text function, I just want to write things at the END of the entire simulation. Not every execution of the loop. This must be slowing it down tremendously as it has to write ~a dozen numbers to a file 1000 times a second.
Thanks for your time! Much appreciated.
I attached a screenshot of the default base file that I built into.
Attachments:
TruckSim_Base vi.PNG 39 KB
I think you are after the same thing I am, and I was finally able to accomplish it using "VS COM Interface" commands
(in TruckSim, go to Help > Reference Manuals > VI COM Interface)
This documents provides a list of all of the commands you can use to control TruckSim from another application. There are examples for Matlab and VB, but nothing for Labview so I basically figured it out. You can use Labview to control just about anything in Truck from changing bluelinks to running the simulation. I built severals arrays in Labview for the different brakes, suspension, wheelbase, etc then Labview chugs through each simulation, changing one thing at a time (or whatever I want changed) and then in the end I have a mound of data from all of the various runs.
Attached is a very basic example of how to use the VS COM commands in Labview.
Attachments:
TruckSim_Example.vi 8 KB
Similar Messages
-
Only have LabVIEW 2012. Why am I asked to download LabVIEW 2011 SP1 f2 RTE Patch?
Hello,
I recently got a new machine (clean install of Windows 8), and installed LabVIEW 2012, with no other previous versions. However, when I ran the NI Update Service, it listed "LabVIEW 2011 SP1 f2 R(32-bit) Run-Time Engine Patch" as a critical update.
I'm confused; did I accidentally install LV 2011 too?
Thanks
Solved!
Go to Solution.Also, some addons use older RunTime Engines. It is not suprising that you need the 2011 RTE patch.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Statistics Express Kurtosis inconistency Labview 2011 (Bug 215683)
Hi All,
I am currently working with a data collection program from which I need to output the skew and kurtosis values for an array of 30 data points. As I was already using the Statistics Express VI to calculate mean, s.d. etc. I just added the skew and kurtosis outputs to that VI. I then set up a basic VI to generate a 1D array of random numbers to let me compare the Express VI to the skew and kurtosis VI on the mathematics > probability and stats. palette.
The skew and kurtosis values are inconsistent between the two VIs. If I calculate the skew and kurtosis by hand I can see that the non-express VI appears to be giving the correct answer. I did some digging and found that this has been labelled as bug no. 215683 and is described as having been fixed as part of Labview 2011. I am running Labview 2011 with SP1 so I'm not quite sure why the two VIs are still inconsistent.
I realise that I can simply use the VI which is giving the correct answer but I am curious as to why a bug which should be fixed still appears to be active in my version of Labview.
Any thoughts/ input would be greatly appreciated.
Many thanks in advanceHi cat,
why don't you get rid of that buggy (as it seems) ExpressVI?
The remaining data (StDev, variance) are provided by just another function from math->statistics palette…
You can also opne the ExpressVI to see, how it calculates those data and why it does produce different results!
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Install labview 6.1 (or compatible) run-time engine with labview 2011
I have installed a trial period version of Labveiw 2011 in order to check for possible upgrade issues I may have if I decide to upgrade from labveiw 6.1. Well, needless to say there have been alot. That is as expected since I have not updated labview in many years. I am still not under any pressure to update; however, I would like to in order to get support and make sure I do not have any compatibility issues with new equipment purchases. I have been able to resolve most of my compatibility issues with simple code fixes and such. However, twice now I have run into an error when launching labview executeables compiled by two different equipment manufacturers. The equipment I am using is not even old...maybe a year or so. When I launch the labview executables to control this equipment on a PC that has the trial period labview 2011 installed, I get an error message stating something like " This requires a Labview 6.1 (or compatible) run time engine." I have tried to download and install the 6.1 labivew engine but I can't install this engine on a PC which has labview 2011 installed. Can someone explain how I am to run these executables under labview 2011. I can't imagine these executables were developed using 6.1 since this equipment is not even a year old now.
Solved!
Go to Solution.Im not for sure I am on the same page with you here. Im not trying to develop any code myself. I have some labview executables that came with hardware we purchased in order to control it. We used to have labview 6.1 installed; so everything was working ok. But now that I have installed 2011, I get an error message when trying to run these executables. The error message states that this executable requires a labview 6.1 or compatible run-time engine. I have seen this error on both XP and Windows 7 machines. I did not develop the executable, it was developed by the hardware manufacturer. But since this hardware is only about 1 year old, I an assuming they used a newer version of Labview to develop this code. Certianly newer than 6.1.
So I guess my question is..is there a way for me to get this executable to work on a PC that has labview 2011 installed. I have tried to install a labview 6.1 run time engine but it will not install. Any other options? -
Application crashes when calling DLL built with LabVIEW 2011
Hello everybody,
Our application calls DLLs built with LabVIEW 2010 SP1. We installed LabVIEW 2011 and built some DLLs. So far so good. If we start our application and run 2010 DLLs it still works fine. If we run a 2011 DLL just once no error happens, but if we try to run the same 2011 DLL our application crashes reporting the error below. I saved the code for 2010 version and built a DLL and it works fine. Does anyone know why?
Thank you in advance.
#Date: Fr, 16. Sep 2011 16:25:25
#OSName: Microsoft Windows XP Service Pack 3
#OSVers: 5.1
#OSBuild: 2600
#AppName: PasTA
#Version: 11.0f2 32-bit
#AppKind: AppLib
#LabVIEW Base Address: 0x30000000
16.09.2011 16:25:26.181
Crash 0x0: Crash caught by NIER
File Unknown(0) : Crash: Crash caught by NIER
minidump id: 8a779b3f-51d7-4864-8e4d-6ab0195cd158
ExceptionCode: 0xC0000005
N
0x3072C804 - lvrt <unknown> + 0
0x3072CBB8 - lvrt <unknown> + 0
0x7C864191 - KERNEL32 <unknown> + 0
0x7C83AB50 - KERNEL32 <unknown> + 0
0x00000000 - PasTA <unknown> + 0
Attachments:
error.PNG 11 KBOn that note, you should be able to create DLLs in 2010 and run them with 2011, correct?? In my case, I have a 2010 built DLL (talking to sbRIO), most of the functions work when run in 2011, but a couple of them lock up LabVIEW on the desktop (but not the sbRIO), no lock ups happen with 2010 on the desktop.
-
How to run the VI developed in labVIEW 2011 in its previous versions
Hi all,
I am currently using LabVIEW 2011 in my home PC.
But, all my school computers are installed with LabVIEW 2010 and 2010 SP1.
How to run the VI developed in LabVIEW 2011 in its previous versions?
Is there any conveter for that?
Regards
Prasanth T
Solved!
Go to Solution.Open the VI in LabVIEW 2011 and use the File menu option, Save for Previous Version.
-
Application built in LabVIEW 2011 installed successfully but not running on windows 8.
Hello all,
We have been using labview 2011 to develop datalogging applications. We have built the installer package for one of the applications by choosing the option 'windows XP or later' in 'Advanced' category. The installed application works fine in Windows 7 and earlier versions. But it doesn't seem to work in windows 8. When we try to run the application, the application doesn't load itself or show up but runs in the background consuming 75% of memory (as seen in the task manager).
Then we tried rebuilding the package by selecting 'windows 7 or later' option from advanced category. The problem persists. Running the application in compatibility mode of windows 8 did not help.
Please let us know how to fix this problem.
Kudos are always welcome if you got solution to some extent.
I need my difficulties because they are necessary to enjoy my success.
--RanjeetRanjeet_Singh wrote:
I thinks it was AMD only. does it make any difference.
What is "AMD only"? Do you have the exact processor model?
LabVIEW 2011 has problems with some AMD processors, and some of the issues have been fixed in 2011 SP1 f1. I don't know if built application had similar problems.
LabVIEW Champion . Do more with less code and in less time . -
Cannot execute a library created with Labview 2011 in visual C++
I created a very simple DLL in Labview 2011, then, I try to call this DLL from a Visual C++ 2005 application.
I have tried to load the DLL at compilation time with the .LIB and .H files, and also dynamically with AfxLoadLibrary.
When I try to call the library function, it works fine, but the second time i call the library freezes the app.
all the library does is to show a simple dialog box and that's it, no params, no returns, no nothing,
but it freezes the app, why the VI works in Labview, but in DLL doesn't?Hi Alveru,
What might be happening is that the process never ends and when you try to re call it, it fails and that it is why your app freezes, what you can do to probe is that is what is happening is to test your DLL directlly in LabVIEW with the Call Library Function Node so you can import the DLL and test it. If it also freezes or not work as expected the problem is with the DLL.
The proceses are automatically closed by LabVIEW at the moment the VI stops running; however, when you deploy the vi, you need to close them manually.
Try this out!!
Regards,
Luis Fernando
National Instruments Cono Sur
Ingeniería de Campo y Consultoría
http://chile.ni.com/ -
I have an early 2011 MacBook Pro which has been running slow for a while. After looking at responses to similar problems I have downloaded and run EtreCheck. Please can someone help me with what it all means.
Thanks in advance.
EtreCheck version: 1.9.15 (52)
Report generated 19 September 2014 08:07:14 GMT+8
Hardware Information: ?
MacBook Pro (13-inch, Early 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.3 GHz Intel Core i5 CPU: 2 cores
4 GB RAM
Video Information: ?
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ?
OS X 10.9.4 (13E28) - Uptime: 0 days 0:4:29
Disk Information: ?
Hitachi HTS545032B9A302 disk0 : (320.07 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 319.21 GB (147 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-898
USB Information: ?
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ?
Apple Inc. thunderbolt_bus
Gatekeeper: ?
Mac App Store and identified developers
Kernel Extensions: ?
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) Support
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) Support
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) Support
[loaded] com.sophos.kext.sav (9.1.55 - SDK 10.7) Support
[loaded] com.sophos.nke.swi (9.1.50 - SDK 10.8) Support
Launch Daemons: ?
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[running] com.sophos.autoupdate.plist Support
[running] com.sophos.configuration.plist Support
[running] com.sophos.intercheck.plist Support
[running] com.sophos.notification.plist Support
[running] com.sophos.scan.plist Support
[running] com.sophos.sxld.plist Support
[running] com.sophos.webd.plist Support
[running] com.trusteer.rooks.rooksd.plist Support
Launch Agents: ?
[loaded] com.divx.dms.agent.plist Support
[loaded] com.divx.update.agent.plist Support
[running] com.sophos.uiserver.plist Support
[running] com.trusteer.rapport.rapportd.plist Support
User Launch Agents: ?
[loaded] com.adobe.ARM.[...].plist Support
[running] com.amazon.music.plist Support
[loaded] com.google.keystone.agent.plist Support
[not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist Support
User Login Items: ?
iTunesHelper
TomTomHOMERunner
AdobeResourceSynchronizer
Dropbox
Internet Plug-ins: ?
FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
DivX Web Player: Version: 3.2.1.977 - SDK 10.6 Support
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
EPPEX Plugin: Version: 10.0 Support
Default Browser: Version: 537 - SDK 10.9
OVSHelper: Version: 1.1 Support
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.4.4 - SDK 10.6 Support
iPhotoPhotocast: Version: 7.0 - SDK 10.7
Safari Extensions: ?
Ultimate
Audio Plug-ins: ?
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins: ?
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
3rd Party Preference Panes: ?
Flash Player Support
Perian Support
Trusteer Endpoint Protection Support
Time Machine: ?
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 297.29 GB Disk used: 160.38 GB
Destinations:
Data [Network] (Last used)
Total size: 2 TB
Total number of backups: 99
Oldest backup: 2012-04-20 17:05:32 +0000
Last backup: 2014-09-18 23:49:25 +0000
Size of backup disk: Excellent
Backup size 2 TB > (Disk size 297.29 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU: ?
6% InterCheck
5% iCalExternalSync
3% WindowServer
2% CalendarAgent
2% SystemUIServer
Top Processes by Memory: ?
152 MB SophosScanD
147 MB InterCheck
106 MB SophosAntiVirus
66 MB Dropbox
57 MB com.apple.iTunesLibraryService
Virtual Memory Information: ?
161 MB Free RAM
1.55 GB Active RAM
1.41 GB Inactive RAM
902 MB Wired RAM
611 MB Page-ins
0 B Page-outsUninstall Trusteer software
http://www.trusteer.com/support/uninstalling-rapport-mac-os-x
Remove Sophos
https://discussions.apple.com/message/21069437#21069437 -
How to run labview exe with command line
I would like to launch a labview exe with a command line.
I would like to get advice how to launch the Labview exe with giving values to the control parameters?
You can view the example where x,y are the controls
Solved!
Go to Solution.
Attachments:
exe.png 65 KBThere is a much more detailed guide here, which I reference below:
1. First you will enable it in the settings:
1. Open the properties for the application's build specification
2. Navigate to the Advanced category
3. Check the Pass all command line arguments to application box
To pass the command line arguments to the application and access them in your code follow the same steps as for LabVIEW 7.x.
2. Then you will use two hypens (--) to pass command line arguments to the VI.
When you launch LabVIEW or a stand-alone executable from the command line, you can pass user-defined arguments to the application. User-defined arguments start after two hyphens (– –) surrounded by spaces in the command line. For example, the following command line entry will launch LabVIEW 7.1 and open test.vi from the root of C:\ and pass 2 arguments, 1000 and sine:
"C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe" "C:\test.vi" –– 1000 sine
You can also pass a command line argument directly to an EXE without launching LabVIEW, as long as the machine has the appropriate Run-Time Engine and necessary drivers. For example, if test.vi was built into an executable, it could be called as follows:
"<build directory>\test.exe" –– 1000 sine
3. Lastly, you will use a property node to wire them to your controls:
LabVIEW passes the arguments from the command line to the block diagram of the VI or EXE you launch. You can reference the arguments in the block diagram by using the Application:Command Line Arguments selection in a property node, as shown below.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If someone helped you out, please select their post as the solution and/or give them Kudos! -
Vision builder AI 2011 incompatib​le with Vis created by Labview 2011 ?
Hi,
I have some issues to drive some motor by a Vi created under Labview 2011 using an inspection built under vision builder AI 2011
The step for running a Labview Vi said me that it only support 2010 VIs or earlier ? How two NI softwares 2011 can be incompatible ?
So I try to save under a old version but this vi is part of a huge LLB...Is it possible to save this LLB as a 2010 version without saving all subvis .ctl etc.. ? I am a little confused...
Thank you for your helpYou should be able to save the top level VI for previous to LV 2010, and all VIs from that LLB will also be saved to a LV 2010 version LLB that can be used by VBAI. There is a restriction that any VIs from a toolkit that you have to pay for (i.e. Vision), even if they are in your LLB will not be saved for previous, but driver VIs (i.e. Motion, DAQ, NI-IMAQ) if they are in your LLB will be saved in the resulting LV 2010 LLB.
I realize this isn't ideal and VBAI will be supporting LV 2011 or a future version later. Another option will be to use the VBAI API in LV 2011 to have VBAI do just the image processing portion of your control system and do Motion, or other functionality in LV environment and control VBAI from LV using the VBAI API (this allows you to load inspections, run them, get images, and results, etc.), which does support LV 2011.
Hope this helps,
Brad -
Internal warning 0xAFBF5C57 on startup with LabVIEW 2011 Student edition
Upon opening LabVIEW 2011 student edition, I get the following error everytime I open it.
I am using the it on a Mac computer, with Mac OSX 10.7.1, the Lion edition operating system.
Attachments:
StartUpError.jpg 52 KBHi Joe,
Have you ever successfully opened LabVIEW 2011 on your Mac?
Also, can you tell me what processor does your Mac has? I want to make sure that there is not a compatibility issue here. Please reference to LabVIEW Version Compatibility with Mac OS PPC and x86 Processors for the compatibility list between LabVIEW and Mac.
Regards,
Daniel
Regards,
Daniel REDS
RF Systems Engineer
Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it. -
Using 3.1Ghz i5 iMac 2011 with 6970M and OSX Lion 10.7, I'm having this temperature issue on the GPU diode where it was hovering around 80C on just normal task (browsing web). From iStat I noticed that the Graphic Module was taking full 33W even though I was just browsing.
But I did have a secondary display running at 1920x1080 via the thunderbolt port. The moment I disconnect it the Graphic Module drop to 15W and the GPU diod drop to around 60C.
So was it caused by the thunderbolt? Why does running external monitor taxing the GPU so much?Try resetting the SMC and see if that helps. On occasion it takes 2-3 resets for it to "take."
SMC RESET
Shut down the computer.
Unplug the computer's power cord and all peripherals.
Press and hold the power button for 5 seconds.
Release the power button.
Attach the computers power cable.
Press the power button to turn on the computer.
PRAM RESET
Shut down the computer.
Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
Turn on the computer.
Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
Hold the keys down until the computer restarts and you hear the startup sound for the second time.
Release the keys. -
LabVIEW 2011 starts with an error every time on OS X
I get this error dialog every time I start LabVIEW 2011 on my Mac.
OS X 10.6.8
LabVIEW 11.0 Student edition
+Control system toolbox
+MathScript RT
Attachments:
Screen shot 2012-06-22 at 12.22.02 AM.png 37 KBIt has given this error every time LabVIEW has started up. This is a fresh install and it has done this every time.
Here is the log file:
#Date: Fri, Jun 22, 2012 1:01:30 AM
#OSName: Mac OS X
10.6.8
#OSVers: 10.6.8
#OSBuild: 10K549
#AppName: LabVIEW.app
#Version: 11.0
#AppKind: FDS
6/22/12 1:01:31.544 AM
DWarn 0xAFBF5C57: LabVIEW not initializing for Pro, Full or Student Edition. Undefined behavior may result.
LVLicenses.cpp(485) : DWarn: LabVIEW not initializing for Pro, Full or Student Edition. Undefined behavior may result.
$Id: //labview/branches/2011/dev/source/licensing/LVLicenses.cpp#9 $
0x0014D8D3 - __Z13CallErrorInfoPKclS0_17_DebugOutputLevelmS0_ + 49
0x021DAADB - _DebugOutputCallHandler + 45
0x021DA958 - __ZNK11DebugStream7ProcessEv + 3E
0x00B669CF - __ZN11CLVLicenses25CheckNonNILMFunctionalityEv + 3B5
0x00B66F43 - __ZN11CLVLicensesC1Ev + 41
0x00B66FB2 - __ZN11CLVLicenses26InitializeLVLicensesGlobalEv + 42
0x00B6723E - __ZN16LVLicenseService4InitEv + C
0x00710834 - __Z7InitAppv + BE
0x0071D2AC - __Z13AppInitializev + 85E
0x00723C09 - __Z15LVMainEventProcP6WEventl + 1B41
0x01638D90 - __Z17InternalEventProcP6WEvent + 20
0x0163FEB6 - _WSendEvent + 27E
0x00007844 - __Z13InitializeAppl + 54
0x00007136 - __Z6MGMainlPKPKc + 17E
0x000074E2 - _CommonMacMain + 1B8
0x00002C02 - <unknown> + 2B11
0x00002B29 - <unknown> + 2A38
0x00000002 - <unknown> + FFFFFF11 -
I'm wondering if anyone else has seen problems like this.
I've been tearing my hair out over debugging some code. I have a ftont panel, I'm using some LEDs to send messages through the NI RS232 cable I bought, and have connected with a connector in a loopback fashion.
I've been trying to read the incoming messages from loopback...and based on those, changing indicators and controls on the front panel.
I could not figure why values were changing at strange times....like T's were turning to F's (I'm working with the serial data as boolean arrays).
Well, I was simplifying code, and mostly running right...but every once in awhile, it appeared that my front panel indictors, especially the values I'm changing based on the loopback serial messages would *BLINK*.
I happened to be looking at the Probe Watch window...and I saw where my probes were correctly showing on a couple spots (a left and right indicator) TTTTTTTF and TTTTTTTF......these appear at times to change T's to F's and vice versa.
I then started clicking around...and found this is almost always caused, when I click the mouse on the top of the window...the part that you usually click and drag to move a window around the Windows desktop!!!!!!!!!!!!
I can see this happen when I click on ANY window on the Windows OS desktop!!!!!!
It appears that the OS is messing with me..............?
I'm using Labview 2011, 32-bit on Win7....I believe the OS is 64 bit.
Has anyone seen behavior like this before?
Thanks in advance,
cayenneMatthew Kelton wrote:
When you are probing, are you looking at the actual spot where you are getting your serial data, or are you looking at it after you've done some processing? I would look at the actual raw data and use a serial port capture utility (there are several free ones on the internet) which will confirm your data is coming in correctly.
What is your CPU running at? If it is pegged at 100%, something has to give.
Is your entire VI running in the UI execution system? If you post your test code, it sounds like it would be easy enough for someone to do a loopback test of their own to confirm similar behavior.
Thanks for the reply. No, CPU isn't being hardly used at all...this is a new lenovo laptop.....high end Dell U2711 monitor...
Task Mgr while Front Panel running:
I'm looking after I've done some processing....
I'm new to working with serial port stuff....I don't have a serial port capture device...?
Thing is...when I run this in debug with breakpoints and stepping through...I don't see this happening. But when running at full speed, and especially when I click on any of the open windows on my desktop, along the top margin where you would click and drag a window around...I can see the serial data in the probe jump...and all data going through the serial port and being displayed on the front panel changing values...
On my VI, I'm actually constructing the byte string...sending it through the serial loopback, and receiving it and acting on it. I can see the data going in is the same as is coming out...it just seems to quickly corrupt and then come back again...like maybe it is getting interrupted by the Win7 OS....?
I can't really post the whole code here...proprietary stuff...that's why in the past, I was posting a separate, simpler vi with only the parts I was having problems with....
I think I have full support with NI...I wonder if I could send them the code to look at, with more confidentiality...?
But again, I can make the problems happen, when it and the probe window is open, in real time...by clicking on windows.
Also, this tends to explain problems I saw earlier...when running slow, all was well , when debugging with break points and stepping through. But at full speed, unexplained...things would start resetting without explanation...and without regularity.
C
I"m not sure what you are asking with "Is your entire VI running in the UI execution system?"....I have the one vi running, and only that vi is running.....
Maybe you are looking for
-
Hi Guys! This is the AdHoc Report SS_PH0_48000513. When two different person runs this report based on same selection criteria then for one person the result shows 2400 hit list and for other person it shows only 200 hit list. Does anyone have any so
-
How to update InDesign ver 6.0
How can I update my InDesign ver 6.0 after reinstalling on a new computer?
-
Delivery text for STO delivery
Hi Gurus, When creating a STO in SAP either a ZGA1 or a ZGFS document type created through Tx ME21N there are fileds to enter delivery text. However this text doesn't appear on the delivery document. Can this be changed/modified? Thanks in advance! R
-
Excute a Store Procedure AS/400
Hi.. I need to invoke a Store Procedure AS/400 from my Oracle Database (Workflow Engine). . How Can do That ?? Thank you
-
Liquify CS5 opens on CS6!
I use Liquify a lot. I noticed that sometimes the CS6 version of Liquify doesn't open and instead the old CS5 version shows up. Restarting Photoshop works sometimes but not always... I have to try 3 or 4 times sometimes... I have the Additional Plug