MathScript Commands
HI all, i'm quite new to LabVIEW MathScript and have been struggling with using the 'load' command in MathScript window to load the data wanting to sort data in every column (total of 4) within a data file. I can perform this operation in Matlab simply by using the following commands:
x = dlmread('c:\work\plotdata\plotdata', ' ');
sortx = sort(x);
The problem i'm encountering now is that when I try to read all data within my datafile in MathScript using the dlmread command, I get the error 'Error in function dlmread at line 1. This function is not defined for the number of parameters you supplied.' Using the 'load' command produces the same error. Each columns are separated from each other by 2 spaces - which is what I specified as above. Please advise on the proper method.
Next, I'm trying to sort the data in respective columns and am unable to do so in mathScript. I've attached a picture of the data file that I'm trying to sort. Note that the data in the picture has not been sorted yet. For any guru's advice....
Solved!
Go to Solution.
Attachments:
test.JPG 120 KB
Hi....Sorry I forgot to mention that I'm using LabVIEW 8.5. Based on your response, I am suspecting that there is a problem with the formatting in the data file. Currently, 4 spaces are used to separate every column of data and when I try to read the datafile, MathScript returns the 'previously mentioned error message'. But thanks for pointing out my oversight that there is a need to make the data file's extension to be .dlm otherwise the dlmread cannot perform properly. Now my following question will be.....what/where can I find the full list of 'delimiters' are involved for parameter passing. Using my previous code as an example
x = dlmread('c:\work\plotdata\plotdata.dlm', '\t') --> the \t is an example of a limiter to inform MathScript where is the location of next data. So again, I like to know if there are any resources indicating the 'delimiters'.
Next question
sortx performs just the way I want it to....I guess I can only ask the next question on XY graphs until I managed to solve the earlier issue.
Similar Messages
-
MathScript Commands (question 2)
Hi again...this is with reference to previous thread raised. It seems that although the dlmread is functioning properly, the sortx isn't....I have attached the .m file (which I used to import into MathScript) and the data file. Perhaps any other experts and user 'ttr' can assist?
What I hope to achieve is when all data has been read and saved into a variable, I need the values be sorted in ascending order in their individual columns. PLease point out what am I doing wrong...Many thanks first
Attachments:
dataplot1.zip 17 KBHi,
If you just want to read the data and sort it column-wise, then the following script should work
a = dlmread('plotdata.dlm', ' ');
b = sort(a);
b is same as a excpet that each column of b are in ascending order. I have tested your data file in LabVIEW 8.6. -
How to use Mathscript Node to calculate integrals
How do you use the command quadn_trap within a Mathscript Node to calculate the integral 5x^4 dx numerically. The upper bound is 1 and the lower bound is 0. The answer should be 1.
Solved!
Go to Solution.Hey Wear,
Cool. Never even heard of quada_nc8 function. Works like a charm, just don't forget the semicolons or single quotation marks.
Thought you might be interested in where my question originated. I am studying the 'Hands-On Introduction to LabVIEW' by John Essick. Problem 5 in Chapter 3 reads:
It is easy to show analytically that the integral (he has the elongated S symbol for the bounds with upper=1 and lower=0) 5x^4dx equals exactly 1. Open a Mathscript Interactive Window and then type help quadn_trap in the Command Window, After learning the syntax of the Mathscript command help quadn_trap write a VI called Numerical Integral that uses quadn_trap within a Mathscript Node to calculate the integral (again elongated S symbol with same bounds) 5x^4dx numerically and then displays the result in a front-panel indicator with Digits of Precision equal to 5. For your numerical result to be correct to five decimal places (i.e., the first five decimal places are all zero), how many x- values must be supplied to quadn_trap within the integration range x=0 to x=1?
Thanks for your help!
btfever -
Can I search the current set path in a script?
I have on my machine a folder full of mathscript commands and functions. This folder is beginning to get quite large and I'd like to be able to clean it up a bit by grouping the files into sub-folders. For example, I'd like to create the following folders;
C:\MatrixXTools
C:\MatrixXTools\StringTools
C:\MatrixXTools\VariableTools
Of course, this would be fine if I was to set the path to every folder individually. What I want to do though, is to set my path manually to C:\MatrixXTools and then put a command in there called 'import'. The 'import' command would be responsible for searching the current path for a given folder and then adding it to the path when it finds it. So to import the StringTools, I would just call
import "StringTools"
All of my base scripts would go into C:/MatrixXTools and then if a script needed to use the StringTools, I could just call the import function.
The problem I have is that I can't find a command that will return me the path into a string vector. Is there some way of doing this? 'SHOW PATH' doesn't do what I want it to because it just shows the path and doesn't give me a way of programmatically viewing it.
Is there a better method of getting everything into sub-folders all together?
I realise that I could also do this using the startup script, however I have the tools in revision control (svn) so that other people can use them - I don't want to have to get everyone to change their startup script every time I make a new folder - I should be able to do this in the scripts.
Note: we are still on v62.2 and we are looking into upgrade options.
Solved!
Go to Solution.You can get the show path output into a string using === operator.
[showPathStr,] === show path;
You can break up the showPathStr on the new line characters
into a string vector using the split function.
The split function was added in MATRIXx 7.1.9. The split function internally
uses the index and stringex functions to create the split string vector.
showPathVector = split(""n",showPathStr);
If you try out the split function and look at the algorithm you will need to
download and eval MATRIXx 7.1.9 or higher.
Also, instead of changing startup.ms everytime you add a tools directory, why not
have startup.ms execute another script (i.e. execute file = toolsetup.ms) and you
would only update toolsetup.ms when adding a new tools directory. -
"print" command in Mathscript not saving plots in BMP format!
Hi guys,
i am trying to create a vi that will automatically generate a pdf report for my project. I found a way to save the report directly as pdf (that is, i "print" my report to a virtual PDF printer (PDFCreator) that saves the file automatically to a specific folder with the date/time as its name. So this was the first step to making the procedure automatic).
I am stuck in the next level, which is adding to the report not labview's bad-looking graphs, but the plots generated through the Mathscript.
So, after adding as input "a" my data to the mathscript node, i use the following commands:
figure
plot(a)
print image
Now, what this sequence does is make a nice plot of my data and then save it as "image.eps" in the default folder.
However, the eps format is not at all useful to me as i cannot import the plot with the "Append Image To Report.vi". This vi supports only BMP, GIF, WMF, EMF and JPG formats.
So, i want to save the plot from mathscript as BMP. This is supposedly possible, however i have not been able to find a way. The "print" command help for Labview 2011 Mathscript reads:
http://zone.ni.com/reference/en-XX/help/373123B-01/lvtextmath/msfunc_print/
Syntax
print
print(a)
print(file)
print(a, file)
Description
Print the plot window or save it into a file in either BMP or EPS format. If the plot window to save is an image plot or a 3D plot, the file must be in BMP format. For other kinds of plots, both BMP and EPS formats are supported.
There is no way for me to choose which format i want and it automatically chooses eps. If i use the command
print image.bmp
it gives me back an error. So, adding the .bmp ending is not the way to go.
All in all, it is crucial for me to export the plot in BMP format (so as to import it in the report generation), but i cannot find a way, althouth it is supposed to work.
Any ideas????
Thanks
PS. I run Labview 2011 SP1
Solved!
Go to Solution.Thanks a lot ttrr!!
-
Matlab 'place' command gives different result in Mathscript/Labview
Hello,
I am trying to implement a order reduced observer in Labview. First I used Labview blocks for programming but it happens that I get different results when I am using Matlab. For that reason I used Mathscript to make a simple 'place' command to check it. The result in Labview and Mathscript is the same, but not in Matlab...
This is the instruction in Matlab:
A22=[0.9024 0 0;0 0.8607 0; 0 0 0];
A12=[0 0 0 ;0 0 0.0548;0.0417 0 0;0 -0.0417 0];
K=place(A22',A12',[0.32 0.31 0.3]);
Ko=K'
Ko =
0 0 13.9664 0
0 0 0 -13.2062
0 -5.4745 0 0
And I have attached the VI where I do the test with Labview blocks and Mathscript. As you can see the result is not even close to be similar. Why is this produced? How can I fix it?
Thank you a lot in advance!
Attachments:
pruebararamathscript.vi 39 KBHi,
Indeed there are a lot of gains that places the poles on the desired locations. BUT, seeing as the Varga's SEAP algorithm is implemented, the G matrix is selected through a uniform white noise generator and the desired characteristics are verified (controllability). This does not unsure optimization regarding stability margins or disturbance rejection (sensitivity minimization regarding perturbations an matrix A or B).
As an example, the system presented in this thread, the algorithm implemented in CD Pole Placement.vi computes an observer gain that determine a 7,4455 value for closed loop infinity norm. The place algorithm in Matlab computes an observer gain that determine a 2,8230 value for closed loop infinity norm, so better noise rejection or robustness.
cosmin -
Is it possible to define a function in the MathScript Node
Is it possible to define a function in the MathScript Node
You can not define a function inside of a MathScript Node, but only because it isn't necessary. The way custom functions work in MathScript is that they are saved in .m files located in paths in the MathScript path list. When the MathScript compiler receives a function that it doesn't recognize, then it searches for it in the path list, and upon finding it, compiles and loads the function. You can specify these search paths manually by going to File>>MathScript Preferences from the MathScript Window or dynamically by using the path() command within a script.
To answer your original question, if you would like to create custom functions dynamically within a VI, then you can simply build your custom functions using strings and then save them to an ASCII file with the extension .m. You could either save the file to a path already in the MathScript path list or you could dynamically specify the path by passing the path into a MathScript Node as a string and by using the path() command at the beginning of your script to set it.
Kind Regards,
E. Sulzer
Applications Engineer
National Instruments -
Use a Mathscript code which has both x and y data and produce it in a waveform
I have this MATLAB code:
t = (0:0.0000001:0.01);
f1 = 0.0011312*cos(2*pi*49400*t);
f2 = 0.003936*cos(2*pi*100*t);
H = (f1*f2);
x = ((2.93464*10^-10)*H);
ms = 1000;
M = ms (coth(x) - (1./x));
I want to plot it on Labview 8.0 as M vs. t with 'M' being Y-axis and 't' being X-axis.
I tried using MathScript to type the MATLAB code but when i add an output to it and connected it to a waveform, it does nothing....
Thanks,
KOn Dec 9, 5:10 pm, Kris Matrix <[email protected]> wrote:
> I have this MATLAB code:
>
> t = (0:0.0000001:0.01);f1 = 0.0011312*cos(2*pi*49400*t);f2 = 0.003936*cos(2*pi*100*t);H = (f1*f2);x = ((2.93464*10^-10)*H);ms = 1000;M = ms (coth(x) - (1./x));
>
> I want to plot it on Labview 8.0 as M vs. t with 'M' being Y-axis and 't' being X-axis.
>
> I tried using MathScript to type the MATLAB code but when i add an output to it and connected it to a waveform, it does nothing....
>
> Thanks,
> K
Two suggestions.
There maybe some exceptions but most of the time with Labview's Data
flow approach to programming you need to calculate all of your output
points before you pass the data to a waveform graph. How are you
accumulating your data?
Instead of using a Labview waveform graph to plot the data use a
Matlab plot command to plot the data. Once you can successfully plot
the data with a Matlab plot command then go onto the next step and try
to plot the data with a Labview waveform graph.
Howard -
Problem with ode45 in Mathscript
Hello,
I have a non linear model (aircraft) in matlab code .m and I want to use it in labview. I want to see the response of this model and for that I am using the ode_rk45 command of Mathscript. In Matlab it works perfectly but in Labview it takes a long time and at the end it doesn't give you anything. The model has 2 inputs and 20 outputs so maybe it's very big for mathscript. Any idea of how can I solve it?Can anyone help me? I would appreciate a lot an answer. Thank you so much.
Solved!
Go to Solution.Hi Cris_Ibi_1989,
Having had a further look at the MathScript code you sent, I am not sure that the times parameter has been set up correctly. The syntax for this function is as follows:
[t, y] = ode_rk45(fun, times, y0)
Looking at your use of this function:
[timek,statek]=ode_rk45('modelintegacadonew',[time(end) time(end)+dt],state(end,',intoptions)
Firstly, I would have expected time(end) to return either an invalid value or a 0 each time, since you have defined this variable as 0 in your code (time=0). Also, you have not defined a dt value. I would have thought that this variable needed to be defined beforehand for the function to use it. What time range did you want to use? It would be better to specify this range within your function, by setting the times parameter to expect a time span of [0, 20] for example.
Similarly, what is the parameter state(end) trying to achieve?
Kind regards,
Marshall B
Applications Engineer
National Instruments UK & Ireland -
I've been wrestling with this one:
Mathscript vi with some csvread() statements (copied in from an old Matlab program I'm converting).
I run the vi and it generates a file not found error:
Error -90001 occurred at Error in function csvread at line 1. LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
=========================
NI-488: Nonexistent GPIB interface.
Of course before this I made sure to set the path using the Mathscript window options menu to the full path where the files are (and the files are there).
Here's the rub: if I open up the Mathscript window and cut and paste the exact code from my vi into the command line - it works perfectly - no errors.
I must be doing something wrong. Is there maybe a global LV project search path that needs to be set or something. BTW: it's weird that the error comes from NI-488 GPIB interface - I'm not connected to any hardware - it's a completely sw application right now.
Thanks in advance for any suggestions,
TomDear Chris,
First thanks for your advice.
BTW, I could solve it just adding absolute path.
The offending line of code was:
data=csvread('a.csv');
t=data(:,1);
y=data(:,2);plot(t,y);
I changed it to:
data=csvread('F:\1MY-DATA\Labview\Mat\a.csv');
t=data(:,1);
y=data(:,2);plot(t,y);
it worked,
Thank you very much, Chris
Have a great day! -
Mathscript null values in matrix
Dear Forum members,
Is there a command or method within MathScript of finding the range of rows within a matrix that contain all zeros. Example below shows a (5 x 3) matrix W:
| 1 2 3 |
| 4 5 6 |
| 0 0 0 | = W
| 0 0 0 |
| 0 0 0 |
If I'm doing this by hand or observation in MathScript it can be seen that rows 3 to 5 contain all zeros which can be represented as 3:5 however is there an automatic way of doing this?Bunny,
I'm unaware of a function that does this specifically but you should be able to parse each row and check for all 0s using a set of for loops. Here is a list of all the matrix functions for MathScript node.
http://zone.ni.com/reference/en-XX/help/373123B-01/lvtextmath/msfunc_matrix/
Kyle Hartley
RIO Product Support Engineer
National Instruments -
Hi ,
This is Sreenivas.I have started working on NI-5640R LabVIEW card.I need to generate some modulations(QPSK,GMSK,OOK and 4-FSK) with Fc 21.4 Mhz. Successfully i completed all these modulation in MATALB.
In labview 8.2, LabVIEW Mathscript future is there.
Plz tell me how i have to use it.where i need to write my matlab code in Labview Mathscript.Directly i can copy my m-code into command window or script editor.
plz tell me procedure.
I am using LabVIEW 8.2 and card NI-5640R(PCI based) v 1.1
Thanking you
with regards,
Sreenivasulu.OHi Sreenivasulu.O,
Smercurio has provided some great information on this! He is right in saying that you have to use NI-DAQmx to acquire/generate data. Here is a link that gives you information on using MathScript to get you started with it. Here is another link that gives you information on transferring information from Matlab and vice versa.
Good luck with your application!
Warm regards,
Karunya R
National Instruments
Applications Engineer -
Request for the 'DOS' function call in Mathscript
To whom it may concern,
It sure would be nice to someday have the 'DOS' function call added to MathScript.
MathScript is really coming along. It now has some of my favorite functions like 'griddata', but I still need to the occasional 'DOS'.
It sure is nice that it handles 'complex' number data types!
CraigHello Craig,
Thank you for the feedback. We are aware of the lack of such a command. It will likely be added in a future version of LabVIEW.
Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments -
Hi
I have written MATLAB code to produce a squarewave at a certain frequency for 0.01 seconds. The code then loops back to produce a similar squarewave but at a different frequency, and then concatenates it to the end of the first squarewave. There are 100 such iterations such that it builds a squarewave of changing frequency that runs for 1 second (i.e. 0.01*100). I want to output this squarewave to the computer speakers.
The code works in MATLAB but when i copy it into the Matchscript window it does not. The commands that i am using seem to be compatible with Mathscript and it seems that the problem comes in at the for loop stage. My MATLAB code is pasted below and i have attached the LabVIEW VI with my Mathscript window. Could someone please have a look at my code and see if i am missing any common issues? I am a new LabVIEW user and am not entirely familiar with its intricacies.
clc
sampleRate = 40000;
step = 1/sampleRate;
freqArray = [5247.819345 2691.190023 2379.575143 2242.862777 2162.605492 2105.101801 2056.973700 2011.841157 1966.260707 1918.191205 1866.327910 1809.784986 1747.934921 1680.325561 1606.638751 1526.672983 1440.340700 1347.674817 1248.840788 1144.151306 1034.080952 919.278207 800.572260 678.972385 629.941608 670.923135 706.090004 733.248856 750.729600 757.468401 753.055128 737.746864 712.449234 678.666661 638.422079 594.147026 548.544635 504.430794 464.562051 431.461673 407.256955 393.540721 391.268089 400.696344 421.371792 452.163428 479.456733 499.635983 519.683091 539.345489 558.379030 576.550816 593.641724 609.448655 623.786494 636.489853 647.414604 656.439263 663.466274 668.423222 671.264030 671.970137 670.551695 667.048751 661.532385 654.105760 660.331784 659.175196 658.042926 656.973398 656.008980 655.196461 654.587596 654.239768 654.216768 654.589753 655.438402 656.852357 658.933014 661.795790 665.573014 670.417674 676.508334 684.055673 693.311331 704.580088 718.236954 734.751698 754.724945 778.942900 808.463177 844.755078 889.940437 947.233277 1021.807261 1122.692006 1267.554308 1497.662150 1946.857495 4694.713066];
z = [ ];
t2 = [ ];
for n = 0:99
t = (0 + (0.01*n)) : step : (0.01*(n+1))-step;
y = (square(2*pi*freqArray(n+1)*t)+1)/2; % create squarewaves at different frquencies
z = [z,y]; % concatenate y arrays
t2 = [t2,t]; % concatenate time arrays
end
plot(t2,z)
sound(z,40000,16)
Solved!
Go to Solution.
Attachments:
audio signal_7_mathscript.vi 211 KBDCT,
Remember that array indices in MathScript are 1-based, so changing the for loop statement to "for n = 1:100" should make it work. This can be a little confusing because array indices are 0-based in native LabVIEW, so you need to make sure to add or subtract 1 when going back and forth between LabVIEW code and MathScript code.
Chris M -
LabVIEW MathScript - loadlibrary
in Matlab, the below commands are able to produce neat results to display functions from NI-488.DLL. However in LabVIEW MathScript, it has problems.
>> loadlibrary('ni488.dll', 'ni488.h')
>> libfunctions('ni488')
Functions in library ni488:
AllSpoll SendDataBytes ibcac ibloc ibsad
DevClear SendIFC ibclr iblock ibsic
DevClearList SendLLO ibcmd iblockxA ibsre
EnableLocal SendList ibcmda iblockxW ibstop
EnableRemote SendSetup ibconfig ibnotify ibtmo
FindLstn SetRWLS ibdev ibonl ibtrg
FindRQS TestSRQ ibdiag ibpad ibunlock
PPoll TestSys ibdma ibpct ibunlockx
PPollConfig ThreadIbcnt ibeos ibpoke ibwait
PPollUnconfig ThreadIbcntl ibeot ibppc ibwrt
PassControl ThreadIberr ibexpert ibrd ibwrta
RcvRespMsg ThreadIbsta ibfindA ibrda ibwrtfA
ReadStatusByte Trigger ibfindW ibrdfA ibwrtfW
Receive TriggerList ibgts ibrdfW
ReceiveSetup WaitSRQ ibist ibrpp
ResetSys ibask iblck ibrsc
Send ibbnaA iblines ibrsp
SendCmds ibbnaW ibln ibrsv
>> libfunctions ni488 -full
Functions in library ni488:
[int16Ptr, voidPtr] AllSpoll(int32, int16Ptr, voidPtr)
DevClear(int32, int16)
int16Ptr DevClearList(int32, int16Ptr)
int16Ptr EnableLocal(int32, int16Ptr)
int16Ptr EnableRemote(int32, int16Ptr)
[int16Ptr, int16Ptr] FindLstn(int32, int16Ptr, int16Ptr, int32)
[int16Ptr, voidPtr] FindRQS(int32, int16Ptr, voidPtr)
voidPtr PPoll(int32, voidPtr)
PPollConfig(int32, int16, int32, int32)
int16Ptr PPollUnconfig(int32, int16Ptr)
PassControl(int32, int16)
voidPtr RcvRespMsg(int32, voidPtr, int32, int32)
voidPtr ReadStatusByte(int32, int16, voidPtr)
voidPtr Receive(int32, int16, voidPtr, int32, int32)
ReceiveSetup(int32, int16)
int16Ptr ResetSys(int32, int16Ptr)
voidPtr Send(int32, int16, voidPtr, int32, int32)
voidPtr SendCmds(int32, voidPtr, int32)
voidPtr SendDataBytes(int32, voidPtr, int32, int32)
SendIFC(int32)
SendLLO(int32)
[int16Ptr, voidPtr] SendList(int32, int16Ptr, voidPtr, int32, int32)
int16Ptr SendSetup(int32, int16Ptr)
int16Ptr SetRWLS(int32, int16Ptr)
voidPtr TestSRQ(int32, voidPtr)
[int16Ptr, voidPtr] TestSys(int32, int16Ptr, voidPtr)
int32 ThreadIbcnt
int32 ThreadIbcntl
int32 ThreadIberr
int32 ThreadIbsta
Trigger(int32, int16)
int16Ptr TriggerList(int32, int16Ptr)
voidPtr WaitSRQ(int32, voidPtr)
[int32, voidPtr] ibask(int32, int32, voidPtr)
[int32, voidPtr] ibbnaA(int32, voidPtr)
[int32, voidPtr] ibbnaW(int32, voidPtr)
int32 ibcac(int32, int32)
int32 ibclr(int32)
[int32, voidPtr] ibcmd(int32, voidPtr, int32)
[int32, voidPtr] ibcmda(int32, voidPtr, int32)
int32 ibconfig(int32, int32, int32)
int32 ibdev(int32, int32, int32, int32, int32, int32)
[int32, voidPtr] ibdiag(int32, voidPtr, int32)
int32 ibdma(int32, int32)
int32 ibeos(int32, int32)
int32 ibeot(int32, int32)
[int32, voidPtr, voidPtr] ibexpert(int32, int32, voidPtr, voidPtr)
[int32, voidPtr] ibfindA(voidPtr)
[int32, voidPtr] ibfindW(voidPtr)
int32 ibgts(int32, int32)
int32 ibist(int32, int32)
[int32, voidPtr] iblck(int32, int32, uint32, voidPtr)
[int32, voidPtr] iblines(int32, voidPtr)
[int32, voidPtr] ibln(int32, int32, int32, voidPtr)
int32 ibloc(int32)
int32 iblock(int32)
[int32, voidPtr] iblockxA(int32, int32, voidPtr)
[int32, voidPtr] iblockxW(int32, int32, voidPtr)
[int32, voidPtr, voidPtr] ibnotify(int32, int32, voidPtr, voidPtr)
int32 ibonl(int32, int32)
int32 ibpad(int32, int32)
int32 ibpct(int32)
int32 ibpoke(int32, int32, int32)
int32 ibppc(int32, int32)
[int32, voidPtr] ibrd(int32, voidPtr, int32)
[int32, voidPtr] ibrda(int32, voidPtr, int32)
[int32, voidPtr] ibrdfA(int32, voidPtr)
[int32, voidPtr] ibrdfW(int32, voidPtr)
[int32, voidPtr] ibrpp(int32, voidPtr)
int32 ibrsc(int32, int32)
[int32, voidPtr] ibrsp(int32, voidPtr)
int32 ibrsv(int32, int32)
int32 ibsad(int32, int32)
int32 ibsic(int32)
int32 ibsre(int32, int32)
int32 ibstop(int32)
int32 ibtmo(int32, int32)
int32 ibtrg(int32)
int32 ibunlock(int32)
int32 ibunlockx(int32)
int32 ibwait(int32, int32)
[int32, voidPtr] ibwrt(int32, voidPtr, int32)
[int32, voidPtr] ibwrta(int32, voidPtr, int32)
[int32, voidPtr] ibwrtfA(int32, voidPtr)
[int32, voidPtr] ibwrtfW(int32, voidPtr)
%% below script written for MathScript, but it gives some errors. why?
%% take note ni488.dll and ni488.h files must be in the working directory. I attached both files here.
if libisloaded('ni488.dll')
unloadlibrary('ni488.dll')
end
loadlibrary('ni488.dll', 'ni488.h')
libfunctionsview('ni488.dll')Hola;
La versión de LabVIEW 64 bits no tiene este módulo, de hecho es una versión limitada únicamente a ciertas herramientas. Te recomiendo que descargues e instales la versión de 32 bits (aunque tu máquina esté corriendo en 64).
Yo estoy corriendo win 7 64 bits con LabVIEW 2013 de 32 y funciona a la perfección.
Puedes descargar la herramienta desde aquí debajo de LabVIEW 2013 Toolkits and Modules
Exito en tu aplicación
Maybe you are looking for
-
How to setup the portal with the uniform style for SRM + Esourcing?
how to setup the portal with the uniform style for SRM + Esourcing? We will setup SRM 7 + esoourcing + portal, but as we know esourcing screen style is not same with SRM, so how to uniform the style between this 2 diffirent software? any body have i
-
Hi, I need table or transaction which will give me a list of open or partially completed POs in excel format for the perticular plant and materials. thanks in advance
-
Hello guys! I',m having this bizare compiling error in the following code: Stirng test = "Test ; test ; test"; String[] tests = test.split(";"); System.out.printLine(tests.lengh());First off it highlights tests.length() and says in cannot find symbol
-
ITunes won't drag and drop - AGAIN!!
I have the current iTunes on a MacBook Pro running the current OS On several occasions, and now it's happening again, iTunes will not allow me to drag even one, let alone a batch, of tracks within or to playlists. It's not because a column is sorted
-
Can't delete certain songs off my iPhone
A few months ago I clicked the "Show all music" it the music settings on my iPhone. After a few weeks I no longer wanted all the music to show up so I turned it off. Now I can't get certain songs off my phone. I am unable to swipe left on these songs