LabVIEW readings from a DMM too slow
Right now I am working on a program that takes readings from a multimeter and puts them into a graph. The multimeter is taking readings at 100 per second, while LabVIEW is only taking a number from the multimeter every five to six seconds. I am very new to LabVIEW so I am not sure if there is something in my program that is slowing it down or something that I can add to increase the frequency of readings taken. I have attached the program file I'm using and the multimeter is a Tektronix DMM4020, though I don't think the problem is with the multimeter. Any advice would be great, thanks in advance.
Rach
Solved!
Go to Solution.
I think they attached.
Attachments:
MultimeterBlock.doc 30 KB
7-7-MultimeterGraph6.vi 22 KB
Similar Messages
-
Laserjet 5000 (with jetDirect 620n): spooling from Windows 7 too slow
Hi,
i've installed new drivers for Windows 7 (32 and 64 bit) from HP website but however spooling is too slow. I tried all of drivers (PCL 6, PCL5 and PS). Only the PCL5 driver have an adequate standard of quality.
What i have to do to increase print performance?
Thanks
AlessandroBUMP!
-
Timed Loop timing source - Control Loop From Task is too slow
I'm trying to make a Timed Loop run at a period of 2 ms, with an analog input task running at 50 kHz as timing source. The input analog signal is scaled and fed into a synchronised analog output task on the same multifunction DAQ board. Using the built-in 1 kHz or 1 MHz clock as timing source for the Timed Loop works great, except for a slight time lag between the loop and my AI/AO tasks which over time becomes unacceptable because my task will be running for up to an hour. However, when I use the DAQmx Create Timing Source: Control Loop From Task vi to create a timing source, everything slows down and the fastest loop time I can get is around 20 ms. Any suggestions to get around this would be highly appreciated!
System: LabVIEW RT 8.0 with DAQmx 8.0 running on an NI PXI-8186; NI PXI-6251 used for analog input.You're welcome!
You can build an array, and if your data is not hugh (100's of MB) this may be the easiest solution. However, we aways suggest implementing the Producer/Consumer Architecture. Keep the PID in the Producer loop, but move the File IO to the Consumer. Also, it appears that your instrument uses some form of serial communication, so that could cause lags in your system....
What is your application about in general, what performance are you hoping for, etc?
Joshua B.
National Instruments
NI Services
NI Support Resources
NI Training Resources -
Why printing from MacBook is too slow?
Hello friends,
Does anyone know how to improve the printing from Macbook faster? I have had very bad experience until today about the printing on Macbook using PDF file, it takes more 30 min to print only a 23 K file. Please anyone suggests me to get rid this stupid thing. It annoys us so much. Thank you.Please describe the problem in as much relevant detail as possible. The better your description, the better the chance of a solution.
For example, if the computer is slow, which specific actions are slow? Is it slow all the time, or only sometimes? When did it start to be slow? Did you change anything just before it started? Have you seen any alerts or error messages? Have you done anything to try to fix it? Most importantly, do you have a current backup of all data? If the answer to the last question is "no," back up now. Ask if you need guidance. Do nothing else until you have a backup. -
Download file from portal is too slow,why?
Hi all:
I created a hyperlink to download file on the portal and the file is in the portal. The file is dowloaded slowly by 1K~2K, but I used FTP to dowload the file by 300K ,Why? how to solve it?
please help!!!! THANKS!!!!Hi Namrata,
You need to define the table field type as binary and develop and RFC with one i/p parameter of binary type.
UPload:
From front end you can browse and upload the file using file upload ui element then send the binary file to the RFC input.
Download:
Get the binary format file from rfc by passing ID as parameter and download it using IWDCachedWebResource.
Regards
Deepak -
Select Data from aufm too slow
Hi experts,
I have a query in my report but its performance too slow.
is there any proper way or any way to improve the performance of below query.
SELECT * FROM aufm into table i_aufm " collecting input material document numbers
WHERE mblnr GE '4900000000'
AND mjahr GE '2008'
AND zeile GT '0'
AND matnr EQ matnr_101-matnr
AND werks IN p_werks
AND charg EQ matnr_101-charg
AND bwart = '101'.Hi,
1 .Dont use * from any table.
2. Create a internal table that u want to retrieve the data from that table. (Structure).
Eg:
types : begin of str_ekko,
ebeln type ekko-ebeln,
bsart type ekko-bsart,
aedat type ekko-aedat,
endof str_ekko.
data : itab type table of str_ekko,
wa_itab type str_ekko.
In the above u want to take care that while creating the structure u want to look the sequence of fields in the table. in the same sequence u want to create the structure.
3 . The Select-options fields also wants be in the same field sequence of the table.
eg : select ebeln bsart aedat from ekko into table itab where ebeln in so_ebeln and
bsart in so_bsart and
aedat in so_aedat.
4. If the above things are not working just look the indexes of that table. Just create a secondary index with ur requirement. -
Query is too slow from bseg selection
SELECT BELNR BLDAT BUDAT XBLNR GJAHR tcode WAERS AWKEY FROM BKPF INTO
TABLE
ITBKPF WHERE BUKRS EQ P_BUKRS AND BELNR IN S_BELNR AND BUDAT IN
P_BUDAT
AND STBLG = ''
AND ( TCODE = 'MIRO' OR
TCODE = 'MR8M' OR
TCODE = 'MB11' OR
TCODE = 'MB1B' OR
TCODE = 'MIGO_GI' OR
TCODE = 'MIGO_TR' OR
TCODE = 'MB1A' ).
IF SY-SUBRC EQ 0.
SORT itBKPF.
ELSE.
MESSAGE 'No data for the relevant date' TYPE 'A'.
LEAVE LIST-PROCESSING.
ENDIF.
SELECT A1LIFNR A1NAME1 A1ORT01 A1STRAS B1~j_1icstno
INTO TABLE it_werks
FROM ( LFA1 AS A1 INNER JOIN j_1imocomp AS B1 ON A1werks = B1werks )
**********************************************this is too slow*************
SELECT BUKRS BELNR GJAHR BUZEI BUZID BSCHL SHKZG GSBER MWSKZ
DMBTR HKONT LIFNR LANDL Matnr werks MENGE EBELP xref3
INTO CORRESPONDING FIELDS OF TABLE ITABBSEG
FROM BSEG
FOR ALL ENTRIES IN ITBKPF
WHERE BELNR = ITBKPF-BELNR
AND GJAHR = ITBKPF-GJAHR
AND ( BSCHL = '86' OR BSCHL = '96' or BSCHL = '89' OR BSCHL = '99' )
AND WERKS IN S_WERKS
AND BUZID <> 'F' .
****************************************this is too slow
Moderator message: Please Read before Posting in the Performance and Tuning Forum
locked by: Thomas Zloch on Aug 5, 2010 2:08 PMYou should have provided the full key of the cluster file behind BSEG (RFBLG), every key is in BKPF, so add BUKRS
SELECT bukrs belnr gjahr buzei buzid bschl shkzg gsber mwskz
dmbtr hkont lifnr landl matnr werks menge ebelp xref3
INTO CORRESPONDING FIELDS OF TABLE itabbseg
FROM bseg
FOR ALL ENTRIES IN itbkpf
WHERE bukrs = itbkpf-bukrs
AND belnr = itbkpf-belnr
AND gjahr = itbkpf-gjahr
AND ( bschl EQ '86' OR bschl EQ '96' OR bschl EQ '89' OR bschl EQ '99' )
AND werks IN s_werks
AND buzid EQ 'F' .
You could also extract the whole accounting document in the internal table, and then delete record using the not-database-key selections.
SELECT bukrs belnr gjahr buzei buzid bschl shkzg gsber mwskz
dmbtr hkont lifnr landl matnr werks menge ebelp xref3
INTO CORRESPONDING FIELDS OF TABLE itabbseg
FROM bseg
FOR ALL ENTRIES IN itbkpf
WHERE bukrs = itbkpf-bukrs
AND belnr = itbkpf-belnr
AND gjahr = itbkpf-gjahr.
DELETE itabbseg WHERE
( bschl NE '86' AND bschl NE '96' AND bschl NE '89' AND bschl NE '99' )
OR NOT ( werks IN s_werks )
OR BUZID NE 'F' .
In both case, perform some tests with tools like SE30 or ST05.
Regards,
Raymond -
What cable do I need for a full migration from a 2011 MacBook Pro to a new current one-wireless migration way too slow.?
All you need is an Ethernet cable.
Just plug it into both machines. Don't bother with a crossover cable, just a plain old Ethernet cable will do. The Ethernet ports on the Macs are smart and will adjust appropriately. -
i was charged for a movie that never was downloaded, i asked for it but the conection was too slow and I never was able to have the movie that i asked for...how can i get it without being charged again, who could remove the chage from my Crecit card?
You may not be able to get a refund, since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
http://www.apple.com/support/itunes/contact.html
It's possible they'll make an exception for you, particularly if the problem was on their end preventing the movie from downloading in a reasonable time.
Good luck. -
Preview app is too slow to open PDF from Server Snow Leopard
Hi
After the Lion update into a MacBook Clients the app Preview has become too slow to open PDF files from Mac server OS Snow Leopard.
Preview app isn't not slow to open PDF present into local system hard disk.
Can you help me to solve this?i've tested the network connection but it's works perfectly.
if i open network files with Office or other applications there aren't problems.
Only preview app is slow to open pdf's from server. -
Director 12 is too slow making clones from 3D models
Why is Director 12 so slow making clones from 3D models?
It takes 2 minutes to make 1200 clones from 10 very simple 3D models. And that's only part of the game initialization time.
The complete game initialization takes 3.5 minutes, including the above 1200 clones, plus other 3D cloning, and other data init.
Users won't wait that long for a game to start.
Please help me out with this.
Here's the Lingo clone initialization code:
<pre>
on initItem nameModel, numModels
-- every clone has the same shader
nameShader = "Shader"
-- init this base model
-- gObj global points to the source 3d-model cast member
iModel = gObj.model(nameModel)
iShader = gObj.shader(nameShader)
iModel.transform.rotation = vector(0,0,0)
iModel.transform.scale = vector(1,1,1)
iModel.visibility = #none
iModel.shaderList[1] = iShader
iShader.diffuse = rgb( 0, 0, 0 )
iShader.emissive = rgb( 0, 255, 0 )
iShader.transparent = FALSE
iShader.flat = TRUE
gObj.modelResource(nameModel).lod.bias = 50.0
-- create a list of clone models -
if( numModels > 0 ) then
cloneList = []
repeat with i = 1 to numModels
ranStr = getRandomString( nameModel )
iClone = iModel.clone( ranStr )
-- add and set available flag to clone
iClone.userData.addProp( #available, TRUE )
cloneList.append( iClone )
-- make clone a child of the rendering group: gGroup
gGroup.addChild( iClone, #preserveWorld )
end repeat
-- add to the model the #clones property and the clone list
iModel.userData.addProp( #clones, cloneList )
end if
end initItem
</pre>@necromanthus,
I use clones for things like non-player-actor models, missiles, and bullets, all of which must be memory-resident in real-time.
When clones are needed, I pull them from the free pool, make them visible, and transform them as required.
When done with the clones, I make them invisible and return them to the free pool.
In my testing of Director 12, making clones in real-time when they are needed is much too slow for an action game, like a shooter.
The total init time I gave earlier includes many other things besides making clones, but clone making is 40% to 50% of my total init time.
Here's my cloning code after the optimizations -- Note: shader init was removed from initItem(), and the inner loop is now minimal:
on initItem nameModel, numModels
-- gObj is global pointer to 3D cast member
-- gGroup is global pointer to rendering group
iModel = gObj.model(nameModel)
iModel.transform.rotation = vector(0,0,0)
iModel.transform.scale = vector(1,1,1)
iModel.visibility = #none
iModel.userData.addProp( #available, TRUE )
iModel.shaderList[1] = gObj.shader("ModelShader")
gObj.modelResource(nameModel).lod.auto = TRUE
gObj.modelResource(nameModel).lod.bias = 10
gGroup.addChild( iModel, #preserveWorld )
if( numModels > 0 ) then
cloneList = []
repeat with i = 1 to numModels
iClone = iModel.clone( nameModel & i )
cloneList.append( iClone )
end repeat
iModel.userData.addProp( #clones, cloneList )
end if
end initItem -
new iphone 6 with ios 8.0 crushed and didnt open again. call center told me that use itunes to update 8.0.2 but server is too slow and didnt let me download it. it stopts in the middle of the session. how can i download it from another link or server. by the way i try to dowload from turkey.
anyone help me there? )=
-
TP Yoga 15 - Windows: Keyboard response too slow after coming back from hibernation
I've got the same issue as outlined in this thread for a Y50 - there seems to be a BIOS update to solve it, but what about TP Yoga 15? Quote:Simply put, In keyboard properties , the Repeat delay is default at maximum (eg, holding down a keyboard button and how fast it generates the key strokes). When the system is put in hiberanation, then turned on again to come back, the Repeat delay some how gets decreased to about 2/3 of what it originally is. https://forums.lenovo.com/t5/Lenovo-P-Y-and-Z-series/Re-Y50-Windows-8-Keyboard-response-too-slow-after-coming-back/td-p/1676309/page/1
hi guys,
Can you please provide also these additional information:
(this is to check if the issue is isolated to a certain model number)
Model Number (eg. 59-xxxxxx):
Place of Purchase (eg. Amazon, Bestbuy, etc.):
In addition, the solution from this thread seems to be a good workaround (the app is for Win7 but may also work for Win8.1)
Regards
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
i am using iphone 4s ios6.1.2 ...my iphone has become too slow once i have updated from ios 5.1.1..can anyone help me to make my iphone perform batter
Standard troubleshooting...
Try a reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider. Takes about 5-15 secs of button holding and you won't lose any data or settings.
Remove all apps from Recently Used list...
- From any Home Screen, double tap the home button to bring up the Recents List
- Tap and hold any icon in this list until they wiggle
- Press the red to delete apps from this list.
- Press the home button twice when done.
If still a problem restore with your backup.
If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
If still a problem, it's likely a hardware issue. -
Hello,
I am overseas for a month and I had to erase my hard drive and do a fresh install of OSX Lion.
I erased my drive and all went fine. Now I am trying to reinstall the OS from the COMMAND+R menu. The problem is my internet connection here is too slow for the "aditional components" and it ends of hanging on 9 hours or something and then just says it failed to download the aditional components. I now it isn't a hardware issue because I have done this before while I was in the states with a fast conection and it worked both times I have reinstalled the OS.
I was wondering how large is the "aditional components"?
What is the point of the Recovery HD if I need to download the recovery from the internet anyway?
Who was the genius that made the decision to eliminate the install CDS? Espceically when were overpaying for these machines. And what made this genius assume that every one has access to fast internet speeds?
Thank you,And what made this genius assume that every one has access to fast internet speeds?
Requirements for reinstalling OS X Lion or OS X Mountain Lion
Reinstalling OS X Lion or OS X Mountain Lion via OS X Recovery requires broadband access to the Internet via Wi-Fi or an Ethernet connection. OS X is downloaded over the Internet from Apple when OS X Recovery is used for reinstallation.
From here > OS X: About OS X Recovery
Maybe you are looking for
-
I want to know the name of motherboard for dv1345ea because i want to replace it with anther one
my p/n: ef036ea its out of warrnty
-
Hi all, I have a standalone XI 2.0 and my scenario is file - XI - idoc (R/3) i have the flat file in my XI box and im using inbound file adapter. but i have a problem in defining the end point . im getting an error message like end point not defined
-
I am trying to place an eps file into my image. it keeps saying that the eps file is a linked file. I have placed it in, i have dragged it in, what do I do to make this eps file not a linked file? THanks so much!!
-
Unable to Open Change Organisation Form
Hi All, i have added Change Organisation - MRP, Change Organisation - CST Form Function to a custom Menu, and it does not show list of Inventory Organisation. and i have also added "Change Organisation" Self Service Function and now it shows my Defau
-
Aperture Import Window shuts on import of JPEGs. Won't import JPEGs HZ35W.
Just got a new camera, Samsung HZ35W aka WB650. Files are on SD card, and I am trying to import them from the SD card into Aperture 3.1.1: - camera is shooting JPEG only, no RAW - I can see the JPEG files in Finder and in Aperture - do not import dup