MATLAB R2007a to Mathscript
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 KB
DCT,
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
Similar Messages
-
Matlab R2007a on Thinkpad Windows 7
Okay, I just upgraded to Windows 7 and found my Matlab R2007a stop working. So this is what I did:
First:
To install Matlab 2007 on windows 7
1-Change Windows 7 Theme to the classic one (windows classic)
2-now the Matlab install will work correctly
Second:
To use Matlab with other windows 7 themes you have to change java used by matlab.
1- download JRE 1.5.0_19 or JRE 1.5.0_20 java version and install it.
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredPro...
http://java.sun.com/products/archive/
2- go to C:\Program Files\MATLAB\R2007a\sys\java\jre\win32 you will
find a file named jer1.5.0_07 rename it to Original_jer1.5.0_07
3- go to C:\Program Files\Java you will find file named JRE 1.5.0_19 or JRE 1.5.0_20 , copy it to C:\Program
Files\MATLAB\R2007a\sys\java\jre\win32 and rename it to jer1.5.0_07
Now you can use matlab with all themes with help.
reference:
http://social.technet.microsoft.com/Forums/en/w7itproappcompat/thread/4dba5d57-3127-48f3-9461-eb1ef5...Windows & upgrade steps:
1. Install Win 7
2. upgrade software for Win 32 bit
Download software TVT
http://forum.lenovo.com/t5/Windows-7-Launch/System-update-for-Windows-7-TVSU-version-4-0/td-p/166770
TVT toolbox (NEW)
http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73783 -
Hello,
I have working Matlab syntax code (works in Matlab) and I am trying to execute it in the MathScript Node in LV 8.2.1. The Matlab code was written on another machine, I do not have Matlab on this machine and cannot use the MATLAB Script node. I believe the problem is in the execution of the while loop, as all code before the while loop seems to execute fine and all code within and after the while loop doesnt return proper outputs. I am interested in returning the following variables: "x", "TF", "Uo". Any ideas?
CLA, CLED, CTD,CPI, LabVIEW Champion
Platinum Alliance Partner
Senior Engineer
Using LV 2013, 2012
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Attachments:
Mathscript Node.vi 505 KBjmcbee,
To run your example, you have to define the Uo variable somewhere in your code. To know what is missing, just create a control from the "error out" terminal and you will see that Uo is not defined. Just add Uo=0, this will generate the Graph out.
Hope this helps!
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments -
Mathscript all matlab functions are not working
Hello,
I am using mathscript node in my labview development. I have used right away "imfill" function to fill the holes in my edge detected image. But the "imfill" function is not working in mathscript.
How could I use this function in mathscript?
Attachments:
Candel.vi 96 KBDid you take this code directly from MATLAB and put it in the MathScript node? (I'm guessing the imfill function is a MATLAB function?)
If so, you're going to be sorely dissapointed. While MATLAB and the MathScript node both use .m files, they are not the same language. The language is very similar, but the syntax differs slightly in some cases. My guess (since I've used MATLAB but never the imfill function) is that the imfill function is part of a toolkit for MATLAB. Unless the MathScript node has a corresponding function (you'd have to search the help to see) you will not be able to use this function in the MathScript node.
If the MathScript node has no corresponding function and you must use this function in LabVIEW, I would reccommend the MATLAB Script Node. This structure actually calls MATLAB through the ActiveX interface. This means that you must have MATLAB installed on the computer you are running your VI on.
Chris
Certified LabVIEW Architect
Certified TestStand Architect -
Calling a .m file from inside a mathscript node
hello all i am hoping someone can help me out, I am in the process of converting our version 7.11 matlab node vi's to mathscript (I hope) AND I HAVE RUN INTO AN ISSUE. we have a very simple matlab script that bundled the data and sent it to another matlab sub routine. when i copy this script over to mathscript I get the following eror: Unknown symbol on line 13: Pre_Process_Function_Pulse. Is there a way I can call and run these subroutines from the mathscript node? Do i need to convert the sub routines into a mathscript file? or do i just need to change the syntax for my call? bmp of the offending line in mathscript attached. please forgive if this is an easy question, I am not really a matlab programmer, the files that we are running are provided from elsewhere, and i get to integrate them any and all help is always appreciated thanks Chris
Attachments:
mathscript.JPG 51 KBHello again,
Ok I am still having issues running the matlab script in mathscript. I have gone back to the original scripts with all the nested sup routines. and the mathscript code is just a call to the first .m file subroutine. but for some reason mathscript will not recognize the function call as a call? I recreated the original matlab node in a sequence, so the matlab node runs (successfully) and then the next sequence is the identical call in mathscript. I have set the path in mathscript to the directory where all the .m files are located. The pre-process_function_pulse .m file sequentially calls 6 very small .m subroutine files. all are located in the same directory. and this directory is the only one listed under path and working directory in Mathscript preferences. Additionally from the last suggestions all traces of the original japanese comments have been deleted from all the .m files. The inputs and outputs are the same for the matlab and mathscript nodes. so i am basically at a loss here.
Any and all help will be greatly appreciated.
thank you
Chris
Attachments:
mathscript.doc 138 KB -
Loading Labview Binary Data into Matlab
This post explains the Labview binary data format. I couldn't find all of this information in any one place so this ought to help anyone in the future. I didn't want to add any overhead in Labview so I did all of my conversion in Matlab.
The Labview VI "Write to Binary File" writes data to a file in a linear format using Big Endian numbers of the type wired into the "Write to Binary File" VI. The array dimensions are listed before the actual array data.
fid = fopen('BinaryData.bin','r','ieee-be'); % Open the binary file
Dim1 = fread(fid,4); % Reads the first dimension
Dim2 = fread(fid,4); % Reads the second dimension
Dim3 = ...
Each dimension's length is specified by 4 bytes. Each increment of the first, second, third, and fourth byte represent 2^32, 2^16, 2^8, and 1 respectively. 0 0 2 38 equates to 2*256 + 38 = 550 values for that particular dimension.
As long as you know the number of dimensions and precision of your binary data you can load it.
Data = fread(fid,prod([Dim1 Dim2 Dim3]),'double',0,'ieee-be'); % Load double precision data
If you have appended multiple arrays to the same file in Labview you would repeat this procedure. Load each dimension then load the data, repeat.
Data = fread(fid,prod([Dim1 Dim2 Dim3]),'int8',0,'ieee-be'); % Load int8 precision data or boolean data
I had to create a function for my own purposes so I thought I'd share it with everyone else too. I uploaded it to the Matlab File Exchange. The file is named labviewload.m.
This was tested on Matlab R2007a and Labview 8.2.Thanks. I have the same questions as I tried to load labview binary data into Matlab.
-John -
Hi,
I have never used LabVIEW and I am wondering if there is a way to run Matlab code in LabVIEW. If so, how would I do it and are there any special instructions or tips I should know about?What is your LabVIEW version?
Do you have matlab installed on your computer?
In older LabVIEW versions, you can only use the matlab script node, which requires that you have a copy of matlab installed.
In newer versions, you have two more alternatives that don't require the purchase of Matlab:
Use a mathscript node.
Use a scilab script node.
Information on mathscript: http://zone.ni.com/devzone/cda/tut/p/id/3502
Information on scilab: http://zone.ni.com/devzone/cda/epd/p/id/657
There is even a mathscript forum here: http://forums.ni.com/ni/board?board.id=MathScript
LabVIEW Champion . Do more with less code and in less time . -
A colleague of mine has made a Matlab .m file that I should call in from LabVIEW. I have imported the function into a Matlab script node. I haven installed Matlab on my PC and therefore i get a licence error. Before I ask my boss for a matlab licence i will ask this forum if there is another way. The Matlab function is still under development and will change a number of times. I could be nice if I didn't have to import the function every time the .m file changes
1. Could I use a MathScript node instead? Or is there another way for importing or calling that function without a Matlab Licence?
2. Is it possible to dynamically call the Matlab Script node/ MathScript node eg via a propertynode or another method instead of importing the function?I know the Model Interface Toolkit has some options for Matlab but I think that is only for compiled Matlab models.
http://sine.ni.com/nips/cds/view/p/lang/en/nid/211815
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously. -
How Mathscrpt node can find m files in MATLAB
Hi,
When trying to differentiate between MATLAB node and MATHSCRIPT node, I found that MATLAB node requires matlab to be installed as labview and matlabe are communicating via activex server technology. Very well.
My question is if I have several m files and have a function in the main program that calls other files, MATLAB needs to know the path of it (current diectory or work folder). how to achieve that in labview
in other words, how labview could tell matlab about where the m files to be called (as it doesn't require matlab to be opened).
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & TechnologyThanks ttrr. You help is much appreciated
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology -
Dear all,
I want to use a motion controller card NI PCI-7344 integrated into matlab R2007a (Version 7.4.0.287) to build up my system, and just want to develop several simple control methods to my system, such as PID, sliding-mode, etc using manual command, AND/OR using SIMULINK, AND/OR using xPC-target of Matlab. My problem is, this NI PCI 7344 is not supported by matlab (not compatible). Does anyone have the solution? is there anyone here can help me? How to use PCI-7344 into matlab? Thanks for your advices, kind help and attention before.
regards,
matlabers
- hnd -Hi hendro,
In C++ you can do this by including the nimotion.lib and FlexMS32.lib when compiling and including the neccessary *.h files at the beginning of the program. (For example, at the top of the program, you'd type #include "Flexmotn.h" if you were using the function flex_load_rpm).
In Visual Basic you would include the line Private Declare Sub nimotion Lib "Location of dll" if you wanted to include a dll.
You would likely need a similar command in MatLab. Unfortunately, since this is a forum for National Instruments products, I do not know what that is. -
MathScript 我上網找的結果好像是要錢(18000),請問有人知道 MATLAB Script Node的功能和 MathScript 的差別嗎?
matlab node ( 電腦需安裝 matlab )
mathscript node ( 電腦不需安裝 matlab ),
語法與 matlab 類似 -
Streaming video stop after 59 seconds and report EXCEPTION_ACCESS_VIOLATION
Hi!
I have a problem with my project. Please help me!
I tried to send a video streaming between 2 computers. I used socket connection and JMF. When received computer display 59 seconds, it stop the connection and program send a error report. I've read many topics about this problem but i haven't seen the answer. Please help me! Thanks!
And this is error report:
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x04eb17ff, pid=6084, tid=5872
# Java VM: Java HotSpot(TM) Client VM (1.5.0_13-b05 mixed mode, sharing)
# Problematic frame:
# C [jmmpegv.dll+0x17ff]
--------------- T H R E A D ---------------
Current thread (0x03847fd0): JavaThread "Loop thread: com.sun.media.parser.RawBufferParser$FrameTrack@1808199" daemon [_thread_in_native, id=5872]
siginfo: ExceptionCode=0xc0000005, reading address 0x093651f8
Registers:
EAX=0x0000006d, EBX=0x00000003, ECX=0x04ec2854, EDX=0x0000fd7f
ESP=0x0914f884, EBP=0x0000000a, ESI=0xffffc000, EDI=0x093751f8
EIP=0x04eb17ff, EFLAGS=0x00010206
Top of Stack: (sp=0x0914f884)
0x0914f884: 00000001 00000181 063c0590 00000000
0x0914f894: 00000003 000001ff 04ec282c 00000007
0x0914f8a4: 00000004 04eb65c8 04ec251f 04ec2b3c
0x0914f8b4: 09370048 00000000 00000000 00000000
0x0914f8c4: 00000000 00000000 04eb66c0 09370048
0x0914f8d4: 09370048 04eb6c3b 00000001 09370048
0x0914f8e4: 063c00e0 09370048 0914f970 00000000
0x0914f8f4: 00000000 04eb74b5 09370048 0914f95c
Instructions: (pc=0x04eb17ff)
0x04eb17ef: fc 01 ec 04 0b d7 8b 3d c0 2d ec 04 c1 fe 03 45
0x04eb17ff: d9 04 b7 8b 35 44 36 ec 04 8b f9 d8 0c 86 d9 1c
Stack: [0x09110000,0x09150000), sp=0x0914f884, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [jmmpegv.dll+0x17ff]
[error occurred during error reporting, step 120, id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.ibm.media.codec.video.mpeg.MpegVideo.videoDecode(J[BIIILjava/lang/Object;JII[I[I[I[I[I[I)I+0
j com.ibm.media.codec.video.mpeg.MpegVideo.process(Ljavax/media/Buffer;Ljavax/media/Buffer;)I+574
J com.sun.media.BasicFilterModule.process()V
J com.sun.media.BasicOutputConnector.writeReport()V
J com.sun.media.BasicFilterModule.process()V
J com.sun.media.BasicOutputConnector.writeReport()V
J com.sun.media.SourceThread.process()Z
j com.sun.media.util.LoopThread.run()V+14
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x03847fd0 JavaThread "Loop thread: com.sun.media.parser.RawBufferParser$FrameTrack@1808199" daemon [_thread_in_native, id=5872]
0x03848158 JavaThread "Loop thread: com.sun.media.renderer.video.DDRenderer@1e8a1f6" daemon [_thread_blocked, id=5528]
0x038476a0 JavaThread "Progress Slider thread" daemon [_thread_blocked, id=2716]
0x038479b0 JavaThread "Loop thread" daemon [_thread_blocked, id=156]
0x03847828 JavaThread "Loop thread: com.sun.media.parser.RawBufferParser$FrameTrack@edc3a2" daemon [_thread_in_native, id=4760]
0x03847b38 JavaThread "Loop thread: com.sun.media.renderer.audio.DirectAudioRenderer@1434234" daemon [_thread_blocked, id=4612]
0x03847518 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" daemon [_thread_blocked, id=3708]
0x03847390 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" daemon [_thread_blocked, id=4696]
0x03847080 JavaThread "RTPStream" daemon [_thread_blocked, id=4504]
0x03847208 JavaThread "DirectSound Request Thread" daemon [_thread_blocked, id=4284]
0x03735ee0 JavaThread "Progress Slider thread" daemon [_thread_blocked, id=3796]
0x03736068 JavaThread "Loop thread" daemon [_thread_blocked, id=1528]
0x03735bd0 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" daemon [_thread_blocked, id=5488]
0x03735a48 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" daemon [_thread_blocked, id=4892]
0x037358c0 JavaThread "RTPStream" daemon [_thread_blocked, id=2324]
0x03735738 JavaThread "RTCP Reporter" daemon [_thread_blocked, id=5644]
0x037355b0 JavaThread "SSRC Cache Cleaner" daemon [_thread_blocked, id=4684]
0x036f6b10 JavaThread "RTP Forwarder for address 192.168.1.40 port 50476" daemon [_thread_in_native, id=5144]
0x036f6988 JavaThread "RTCP Forwarder for address192.168.1.40 port 50477" daemon [_thread_in_native, id=3284]
0x036f6800 JavaThread "RTPEventHandler" daemon [_thread_blocked, id=5640]
0x036f6430 JavaThread "RTCP Reporter" daemon [_thread_blocked, id=2792]
0x036f62a8 JavaThread "SSRC Cache Cleaner" daemon [_thread_blocked, id=5908]
0x036f6120 JavaThread "RTP Forwarder for address 192.168.1.40 port 50474" daemon [_thread_in_native, id=5508]
0x036f5f98 JavaThread "RTCP Forwarder for address192.168.1.40 port 50475" daemon [_thread_in_native, id=3848]
0x037488e8 JavaThread "RTPEventHandler" daemon [_thread_blocked, id=4652]
0x0374b9b8 JavaThread "TimerQueue" daemon [_thread_blocked, id=1880]
0x008e7990 JavaThread "DestroyJavaVM" [_thread_blocked, id=4488]
0x03729e18 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5424]
0x036bc568 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2592]
0x036bc3e0 JavaThread "AWT-Shutdown" [_thread_blocked, id=4716]
0x036bbf60 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5892]
0x0156eee0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5320]
0x0156cd18 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5888]
0x0156c240 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5296]
0x01539d98 JavaThread "Finalizer" daemon [_thread_blocked, id=3616]
0x015392e0 JavaThread "Reference Handler" daemon [_thread_blocked, id=4492]
Other Threads:
0x015364d0 VMThread [id=5880]
0x01529b58 WatcherThread [id=5692]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 282K [0x24010000, 0x240b0000, 0x244f0000)
eden space 512K, 51% used [0x24010000, 0x24052078, 0x24090000)
from space 64K, 28% used [0x24090000, 0x24094800, 0x240a0000)
to space 64K, 0% used [0x240a0000, 0x240a0000, 0x240b0000)
tenured generation total 6664K, used 6279K [0x244f0000, 0x24b72000, 0x28010000)
the space 6664K, 94% used [0x244f0000, 0x24b11c30, 0x24b11e00, 0x24b72000)
compacting perm gen total 8192K, used 2112K [0x28010000, 0x28810000, 0x2c010000)
the space 8192K, 25% used [0x28010000, 0x28220310, 0x28220400, 0x28810000)
ro space 8192K, 67% used [0x2c010000, 0x2c5723e0, 0x2c572400, 0x2c810000)
rw space 12288K, 47% used [0x2c810000, 0x2cdbf450, 0x2cdbf600, 0x2d410000)
Dynamic libraries:
0x00400000 - 0x0040d000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\java.exe
0x77650000 - 0x7776e000 C:\Windows\system32\ntdll.dll
0x76010000 - 0x760e8000 C:\Windows\system32\kernel32.dll
0x768a0000 - 0x7695f000 C:\Windows\system32\ADVAPI32.dll
0x76530000 - 0x765f3000 C:\Windows\system32\RPCRT4.dll
0x75f10000 - 0x75fba000 C:\Windows\system32\MSVCRT.dll
0x6d740000 - 0x6d8dd000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\client\jvm.dll
0x76600000 - 0x7669e000 C:\Windows\system32\USER32.dll
0x760f0000 - 0x7613b000 C:\Windows\system32\GDI32.dll
0x747a0000 - 0x747d3000 C:\Windows\system32\WINMM.dll
0x763e0000 - 0x76524000 C:\Windows\system32\ole32.dll
0x762f0000 - 0x7637c000 C:\Windows\system32\OLEAUT32.dll
0x74760000 - 0x74798000 C:\Windows\system32\OLEACC.dll
0x77840000 - 0x7785e000 C:\Windows\system32\IMM32.DLL
0x76220000 - 0x762e7000 C:\Windows\system32\MSCTF.dll
0x75d20000 - 0x75d4c000 C:\Windows\system32\apphelp.dll
0x77770000 - 0x77779000 C:\Windows\system32\LPK.DLL
0x76140000 - 0x761bd000 C:\Windows\system32\USP10.dll
0x77810000 - 0x7783d000 C:\Windows\system32\WS2_32.dll
0x76210000 - 0x76216000 C:\Windows\system32\NSI.dll
0x75d70000 - 0x75d91000 C:\Windows\system32\NTMARTA.DLL
0x75fc0000 - 0x76009000 C:\Windows\system32\WLDAP32.dll
0x75f00000 - 0x75f07000 C:\Windows\system32\PSAPI.DLL
0x75d50000 - 0x75d61000 C:\Windows\system32\SAMLIB.dll
0x76380000 - 0x763d5000 C:\Windows\system32\SHLWAPI.dll
0x75950000 - 0x75ae4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll
0x10000000 - 0x10010000 C:\PROGRA~1\KASPER~1\KASPER~1.0\r3hook.dll
0x6d300000 - 0x6d308000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\hpi.dll
0x6d710000 - 0x6d71c000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\verify.dll
0x6d380000 - 0x6d39d000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\java.dll
0x6d730000 - 0x6d73f000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\zip.dll
0x6d070000 - 0x6d1da000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\awt.dll
0x72430000 - 0x72471000 C:\Windows\system32\WINSPOOL.DRV
0x74e30000 - 0x74e6f000 C:\Windows\system32\uxtheme.dll
0x6d2b0000 - 0x6d300000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\fontmanager.dll
0x769f0000 - 0x774be000 C:\Windows\system32\shell32.dll
0x6d540000 - 0x6d553000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\net.dll
0x75410000 - 0x7544b000 C:\Windows\system32\mswsock.dll
0x75400000 - 0x75406000 C:\Windows\System32\wship6.dll
0x6d560000 - 0x6d569000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\nio.dll
0x60300000 - 0x60307000 C:\PROGRA~1\Yahoo!\MESSEN~1\idle.dll
0x7c340000 - 0x7c396000 C:\PROGRA~1\Yahoo!\MESSEN~1\MSVCR71.dll
0x03f10000 - 0x03f3f000 C:\Program Files\Common Files\PC Tools\LSP\PCTLsp.dll
0x750f0000 - 0x750f6000 C:\Windows\System32\wshtcpip.dll
0x03910000 - 0x03925000 C:\Windows\System32\jmutil.dll
0x74410000 - 0x7441f000 C:\Windows\system32\NLAapi.dll
0x75690000 - 0x756a9000 C:\Windows\system32\IPHLPAPI.DLL
0x75650000 - 0x75685000 C:\Windows\system32\dhcpcsvc.DLL
0x75b30000 - 0x75b5b000 C:\Windows\system32\DNSAPI.dll
0x75da0000 - 0x75db4000 C:\Windows\system32\Secur32.dll
0x75640000 - 0x75647000 C:\Windows\system32\WINNSI.DLL
0x75620000 - 0x75640000 C:\Windows\system32\dhcpcsvc6.DLL
0x71f70000 - 0x71f78000 C:\Windows\System32\winrnr.dll
0x71f60000 - 0x71f6f000 C:\Windows\system32\napinsp.dll
0x71f40000 - 0x71f52000 C:\Windows\system32\pnrpnsp.dll
0x72810000 - 0x72816000 C:\Windows\system32\rasadhlp.dll
0x04030000 - 0x0403d000 C:\Windows\System32\jmacm.dll
0x74180000 - 0x74195000 C:\Windows\system32\MSACM32.dll
0x70750000 - 0x70758000 C:\Windows\system32\imaadp32.acm
0x6cfb0000 - 0x6cfb7000 C:\Windows\system32\msg711.acm
0x6c4f0000 - 0x6c4f9000 C:\Windows\system32\msgsm32.acm
0x6c0d0000 - 0x6c0d8000 C:\Windows\system32\msadp32.acm
0x69890000 - 0x698a2000 C:\Windows\System32\l3codeca.acm
0x04130000 - 0x0413c000 C:\Windows\System32\jmdaud.dll
0x74ab0000 - 0x74b21000 C:\Windows\system32\DSOUND.dll
0x75110000 - 0x7512a000 C:\Windows\system32\POWRPROF.dll
0x04e30000 - 0x04e8e000 C:\Windows\System32\jmmpa.dll
0x76960000 - 0x769e4000 C:\Windows\system32\CLBCatQ.DLL
0x746d0000 - 0x746f7000 C:\Windows\System32\MMDevApi.dll
0x774c0000 - 0x77649000 C:\Windows\system32\SETUPAPI.dll
0x75080000 - 0x750ad000 C:\Windows\system32\WINTRUST.dll
0x75740000 - 0x75831000 C:\Windows\system32\CRYPT32.dll
0x75b10000 - 0x75b22000 C:\Windows\system32\MSASN1.dll
0x75dc0000 - 0x75dde000 C:\Windows\system32\USERENV.dll
0x77860000 - 0x77889000 C:\Windows\system32\imagehlp.dll
0x742b0000 - 0x742d1000 C:\Windows\System32\audioses.dll
0x74240000 - 0x742a6000 C:\Windows\System32\audioeng.dll
0x745a0000 - 0x745a7000 C:\Windows\System32\AVRT.dll
0x05ab0000 - 0x05abb000 C:\Windows\System32\jmvcm.dll
0x6e280000 - 0x6e2a3000 C:\Windows\system32\MSVFW32.dll
0x73270000 - 0x732f6000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6000.16386_none_87e0cb09378714f1\COMCTL32.dll
0x06ba0000 - 0x06e59000 C:\Program Files\K-Lite Codec Pack\ffdshow\ffdshow.ax
0x77790000 - 0x77804000 C:\Windows\system32\comdlg32.dll
0x698b0000 - 0x698d4000 C:\Windows\system32\DINPUT.dll
0x04eb0000 - 0x04ec6000 C:\Windows\System32\jmmpegv.dll
0x04e90000 - 0x04e98000 C:\Windows\System32\jmddraw.dll
0x064c0000 - 0x065a6000 C:\Windows\system32\DDRAW.dll
0x6dca0000 - 0x6dca6000 C:\Windows\system32\DCIMAN32.dll
0x72ca0000 - 0x72cac000 C:\Windows\system32\dwmapi.dll
0x06ff0000 - 0x074dc000 C:\Windows\system32\nvd3dum.dll
0x08fe0000 - 0x0908c000 C:\Windows\System32\jmvh263.dll
0x6d3e0000 - 0x6d3e6000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\jawt.dll
0x05ad0000 - 0x05ad9000 C:\Windows\System32\jmfjawt.dll
VM Arguments:
java_command: FrameLogin
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\Windows\java\classes;.
PATH=C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Program Files\MATLAB\R2007a\bin;C:\Program Files\MATLAB\R2007a\bin\win32;
USERNAME=tungdt
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Vista Build 6000
CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 1046088k(253228k free), swap 2344676k(842416k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_13-b05) for windows-x86, built on Sep 25 2007 19:11:52 by "java_re" with MS VC++ 6.0Hi!
I have a problem with my project. Please help me!
I tried to send a video streaming between 2 computers. I used socket connection and JMF. When received computer display 59 seconds, it stop the connection and program send a error report. I've read many topics about this problem but i haven't seen the answer. Please help me! Thanks!
And this is error report:
# An unexpected error has been detected by HotSpot Virtual Machine:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x04eb17ff, pid=6084, tid=5872
# Java VM: Java HotSpot(TM) Client VM (1.5.0_13-b05 mixed mode, sharing)
# Problematic frame:
# C [jmmpegv.dll+0x17ff]
--------------- T H R E A D ---------------
Current thread (0x03847fd0): JavaThread "Loop thread: com.sun.media.parser.RawBufferParser$FrameTrack@1808199" daemon [_thread_in_native, id=5872]
siginfo: ExceptionCode=0xc0000005, reading address 0x093651f8
Registers:
EAX=0x0000006d, EBX=0x00000003, ECX=0x04ec2854, EDX=0x0000fd7f
ESP=0x0914f884, EBP=0x0000000a, ESI=0xffffc000, EDI=0x093751f8
EIP=0x04eb17ff, EFLAGS=0x00010206
Top of Stack: (sp=0x0914f884)
0x0914f884: 00000001 00000181 063c0590 00000000
0x0914f894: 00000003 000001ff 04ec282c 00000007
0x0914f8a4: 00000004 04eb65c8 04ec251f 04ec2b3c
0x0914f8b4: 09370048 00000000 00000000 00000000
0x0914f8c4: 00000000 00000000 04eb66c0 09370048
0x0914f8d4: 09370048 04eb6c3b 00000001 09370048
0x0914f8e4: 063c00e0 09370048 0914f970 00000000
0x0914f8f4: 00000000 04eb74b5 09370048 0914f95c
Instructions: (pc=0x04eb17ff)
0x04eb17ef: fc 01 ec 04 0b d7 8b 3d c0 2d ec 04 c1 fe 03 45
0x04eb17ff: d9 04 b7 8b 35 44 36 ec 04 8b f9 d8 0c 86 d9 1c
Stack: [0x09110000,0x09150000), sp=0x0914f884, free space=254k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [jmmpegv.dll+0x17ff]
[error occurred during error reporting, step 120, id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.ibm.media.codec.video.mpeg.MpegVideo.videoDecode(J[BIIILjava/lang/Object;JII[I[I[I[I[I[I)I+0
j com.ibm.media.codec.video.mpeg.MpegVideo.process(Ljavax/media/Buffer;Ljavax/media/Buffer;)I+574
J com.sun.media.BasicFilterModule.process()V
J com.sun.media.BasicOutputConnector.writeReport()V
J com.sun.media.BasicFilterModule.process()V
J com.sun.media.BasicOutputConnector.writeReport()V
J com.sun.media.SourceThread.process()Z
j com.sun.media.util.LoopThread.run()V+14
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
=>0x03847fd0 JavaThread "Loop thread: com.sun.media.parser.RawBufferParser$FrameTrack@1808199" daemon [_thread_in_native, id=5872]
0x03848158 JavaThread "Loop thread: com.sun.media.renderer.video.DDRenderer@1e8a1f6" daemon [_thread_blocked, id=5528]
0x038476a0 JavaThread "Progress Slider thread" daemon [_thread_blocked, id=2716]
0x038479b0 JavaThread "Loop thread" daemon [_thread_blocked, id=156]
0x03847828 JavaThread "Loop thread: com.sun.media.parser.RawBufferParser$FrameTrack@edc3a2" daemon [_thread_in_native, id=4760]
0x03847b38 JavaThread "Loop thread: com.sun.media.renderer.audio.DirectAudioRenderer@1434234" daemon [_thread_blocked, id=4612]
0x03847518 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" daemon [_thread_blocked, id=3708]
0x03847390 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" daemon [_thread_blocked, id=4696]
0x03847080 JavaThread "RTPStream" daemon [_thread_blocked, id=4504]
0x03847208 JavaThread "DirectSound Request Thread" daemon [_thread_blocked, id=4284]
0x03735ee0 JavaThread "Progress Slider thread" daemon [_thread_blocked, id=3796]
0x03736068 JavaThread "Loop thread" daemon [_thread_blocked, id=1528]
0x03735bd0 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" daemon [_thread_blocked, id=5488]
0x03735a48 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" daemon [_thread_blocked, id=4892]
0x037358c0 JavaThread "RTPStream" daemon [_thread_blocked, id=2324]
0x03735738 JavaThread "RTCP Reporter" daemon [_thread_blocked, id=5644]
0x037355b0 JavaThread "SSRC Cache Cleaner" daemon [_thread_blocked, id=4684]
0x036f6b10 JavaThread "RTP Forwarder for address 192.168.1.40 port 50476" daemon [_thread_in_native, id=5144]
0x036f6988 JavaThread "RTCP Forwarder for address192.168.1.40 port 50477" daemon [_thread_in_native, id=3284]
0x036f6800 JavaThread "RTPEventHandler" daemon [_thread_blocked, id=5640]
0x036f6430 JavaThread "RTCP Reporter" daemon [_thread_blocked, id=2792]
0x036f62a8 JavaThread "SSRC Cache Cleaner" daemon [_thread_blocked, id=5908]
0x036f6120 JavaThread "RTP Forwarder for address 192.168.1.40 port 50474" daemon [_thread_in_native, id=5508]
0x036f5f98 JavaThread "RTCP Forwarder for address192.168.1.40 port 50475" daemon [_thread_in_native, id=3848]
0x037488e8 JavaThread "RTPEventHandler" daemon [_thread_blocked, id=4652]
0x0374b9b8 JavaThread "TimerQueue" daemon [_thread_blocked, id=1880]
0x008e7990 JavaThread "DestroyJavaVM" [_thread_blocked, id=4488]
0x03729e18 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=5424]
0x036bc568 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2592]
0x036bc3e0 JavaThread "AWT-Shutdown" [_thread_blocked, id=4716]
0x036bbf60 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5892]
0x0156eee0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5320]
0x0156cd18 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5888]
0x0156c240 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5296]
0x01539d98 JavaThread "Finalizer" daemon [_thread_blocked, id=3616]
0x015392e0 JavaThread "Reference Handler" daemon [_thread_blocked, id=4492]
Other Threads:
0x015364d0 VMThread [id=5880]
0x01529b58 WatcherThread [id=5692]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 576K, used 282K [0x24010000, 0x240b0000, 0x244f0000)
eden space 512K, 51% used [0x24010000, 0x24052078, 0x24090000)
from space 64K, 28% used [0x24090000, 0x24094800, 0x240a0000)
to space 64K, 0% used [0x240a0000, 0x240a0000, 0x240b0000)
tenured generation total 6664K, used 6279K [0x244f0000, 0x24b72000, 0x28010000)
the space 6664K, 94% used [0x244f0000, 0x24b11c30, 0x24b11e00, 0x24b72000)
compacting perm gen total 8192K, used 2112K [0x28010000, 0x28810000, 0x2c010000)
the space 8192K, 25% used [0x28010000, 0x28220310, 0x28220400, 0x28810000)
ro space 8192K, 67% used [0x2c010000, 0x2c5723e0, 0x2c572400, 0x2c810000)
rw space 12288K, 47% used [0x2c810000, 0x2cdbf450, 0x2cdbf600, 0x2d410000)
Dynamic libraries:
0x00400000 - 0x0040d000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\java.exe
0x77650000 - 0x7776e000 C:\Windows\system32\ntdll.dll
0x76010000 - 0x760e8000 C:\Windows\system32\kernel32.dll
0x768a0000 - 0x7695f000 C:\Windows\system32\ADVAPI32.dll
0x76530000 - 0x765f3000 C:\Windows\system32\RPCRT4.dll
0x75f10000 - 0x75fba000 C:\Windows\system32\MSVCRT.dll
0x6d740000 - 0x6d8dd000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\client\jvm.dll
0x76600000 - 0x7669e000 C:\Windows\system32\USER32.dll
0x760f0000 - 0x7613b000 C:\Windows\system32\GDI32.dll
0x747a0000 - 0x747d3000 C:\Windows\system32\WINMM.dll
0x763e0000 - 0x76524000 C:\Windows\system32\ole32.dll
0x762f0000 - 0x7637c000 C:\Windows\system32\OLEAUT32.dll
0x74760000 - 0x74798000 C:\Windows\system32\OLEACC.dll
0x77840000 - 0x7785e000 C:\Windows\system32\IMM32.DLL
0x76220000 - 0x762e7000 C:\Windows\system32\MSCTF.dll
0x75d20000 - 0x75d4c000 C:\Windows\system32\apphelp.dll
0x77770000 - 0x77779000 C:\Windows\system32\LPK.DLL
0x76140000 - 0x761bd000 C:\Windows\system32\USP10.dll
0x77810000 - 0x7783d000 C:\Windows\system32\WS2_32.dll
0x76210000 - 0x76216000 C:\Windows\system32\NSI.dll
0x75d70000 - 0x75d91000 C:\Windows\system32\NTMARTA.DLL
0x75fc0000 - 0x76009000 C:\Windows\system32\WLDAP32.dll
0x75f00000 - 0x75f07000 C:\Windows\system32\PSAPI.DLL
0x75d50000 - 0x75d61000 C:\Windows\system32\SAMLIB.dll
0x76380000 - 0x763d5000 C:\Windows\system32\SHLWAPI.dll
0x75950000 - 0x75ae4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll
0x10000000 - 0x10010000 C:\PROGRA~1\KASPER~1\KASPER~1.0\r3hook.dll
0x6d300000 - 0x6d308000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\hpi.dll
0x6d710000 - 0x6d71c000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\verify.dll
0x6d380000 - 0x6d39d000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\java.dll
0x6d730000 - 0x6d73f000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\zip.dll
0x6d070000 - 0x6d1da000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\awt.dll
0x72430000 - 0x72471000 C:\Windows\system32\WINSPOOL.DRV
0x74e30000 - 0x74e6f000 C:\Windows\system32\uxtheme.dll
0x6d2b0000 - 0x6d300000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\fontmanager.dll
0x769f0000 - 0x774be000 C:\Windows\system32\shell32.dll
0x6d540000 - 0x6d553000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\net.dll
0x75410000 - 0x7544b000 C:\Windows\system32\mswsock.dll
0x75400000 - 0x75406000 C:\Windows\System32\wship6.dll
0x6d560000 - 0x6d569000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\nio.dll
0x60300000 - 0x60307000 C:\PROGRA~1\Yahoo!\MESSEN~1\idle.dll
0x7c340000 - 0x7c396000 C:\PROGRA~1\Yahoo!\MESSEN~1\MSVCR71.dll
0x03f10000 - 0x03f3f000 C:\Program Files\Common Files\PC Tools\LSP\PCTLsp.dll
0x750f0000 - 0x750f6000 C:\Windows\System32\wshtcpip.dll
0x03910000 - 0x03925000 C:\Windows\System32\jmutil.dll
0x74410000 - 0x7441f000 C:\Windows\system32\NLAapi.dll
0x75690000 - 0x756a9000 C:\Windows\system32\IPHLPAPI.DLL
0x75650000 - 0x75685000 C:\Windows\system32\dhcpcsvc.DLL
0x75b30000 - 0x75b5b000 C:\Windows\system32\DNSAPI.dll
0x75da0000 - 0x75db4000 C:\Windows\system32\Secur32.dll
0x75640000 - 0x75647000 C:\Windows\system32\WINNSI.DLL
0x75620000 - 0x75640000 C:\Windows\system32\dhcpcsvc6.DLL
0x71f70000 - 0x71f78000 C:\Windows\System32\winrnr.dll
0x71f60000 - 0x71f6f000 C:\Windows\system32\napinsp.dll
0x71f40000 - 0x71f52000 C:\Windows\system32\pnrpnsp.dll
0x72810000 - 0x72816000 C:\Windows\system32\rasadhlp.dll
0x04030000 - 0x0403d000 C:\Windows\System32\jmacm.dll
0x74180000 - 0x74195000 C:\Windows\system32\MSACM32.dll
0x70750000 - 0x70758000 C:\Windows\system32\imaadp32.acm
0x6cfb0000 - 0x6cfb7000 C:\Windows\system32\msg711.acm
0x6c4f0000 - 0x6c4f9000 C:\Windows\system32\msgsm32.acm
0x6c0d0000 - 0x6c0d8000 C:\Windows\system32\msadp32.acm
0x69890000 - 0x698a2000 C:\Windows\System32\l3codeca.acm
0x04130000 - 0x0413c000 C:\Windows\System32\jmdaud.dll
0x74ab0000 - 0x74b21000 C:\Windows\system32\DSOUND.dll
0x75110000 - 0x7512a000 C:\Windows\system32\POWRPROF.dll
0x04e30000 - 0x04e8e000 C:\Windows\System32\jmmpa.dll
0x76960000 - 0x769e4000 C:\Windows\system32\CLBCatQ.DLL
0x746d0000 - 0x746f7000 C:\Windows\System32\MMDevApi.dll
0x774c0000 - 0x77649000 C:\Windows\system32\SETUPAPI.dll
0x75080000 - 0x750ad000 C:\Windows\system32\WINTRUST.dll
0x75740000 - 0x75831000 C:\Windows\system32\CRYPT32.dll
0x75b10000 - 0x75b22000 C:\Windows\system32\MSASN1.dll
0x75dc0000 - 0x75dde000 C:\Windows\system32\USERENV.dll
0x77860000 - 0x77889000 C:\Windows\system32\imagehlp.dll
0x742b0000 - 0x742d1000 C:\Windows\System32\audioses.dll
0x74240000 - 0x742a6000 C:\Windows\System32\audioeng.dll
0x745a0000 - 0x745a7000 C:\Windows\System32\AVRT.dll
0x05ab0000 - 0x05abb000 C:\Windows\System32\jmvcm.dll
0x6e280000 - 0x6e2a3000 C:\Windows\system32\MSVFW32.dll
0x73270000 - 0x732f6000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6000.16386_none_87e0cb09378714f1\COMCTL32.dll
0x06ba0000 - 0x06e59000 C:\Program Files\K-Lite Codec Pack\ffdshow\ffdshow.ax
0x77790000 - 0x77804000 C:\Windows\system32\comdlg32.dll
0x698b0000 - 0x698d4000 C:\Windows\system32\DINPUT.dll
0x04eb0000 - 0x04ec6000 C:\Windows\System32\jmmpegv.dll
0x04e90000 - 0x04e98000 C:\Windows\System32\jmddraw.dll
0x064c0000 - 0x065a6000 C:\Windows\system32\DDRAW.dll
0x6dca0000 - 0x6dca6000 C:\Windows\system32\DCIMAN32.dll
0x72ca0000 - 0x72cac000 C:\Windows\system32\dwmapi.dll
0x06ff0000 - 0x074dc000 C:\Windows\system32\nvd3dum.dll
0x08fe0000 - 0x0908c000 C:\Windows\System32\jmvh263.dll
0x6d3e0000 - 0x6d3e6000 C:\Program Files\Java\jdk1.5.0_13\jre\bin\jawt.dll
0x05ad0000 - 0x05ad9000 C:\Windows\System32\jmfjawt.dll
VM Arguments:
java_command: FrameLogin
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\Windows\java\classes;.
PATH=C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Program Files\MATLAB\R2007a\bin;C:\Program Files\MATLAB\R2007a\bin\win32;
USERNAME=tungdt
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Vista Build 6000
CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 1046088k(253228k free), swap 2344676k(842416k free)
vm_info: Java HotSpot(TM) Client VM (1.5.0_13-b05) for windows-x86, built on Sep 25 2007 19:11:52 by "java_re" with MS VC++ 6.0 -
Really need Min(a,b) and Max(a,b) function in "Eval formula node"
Hi all,
I've been using the 'Eval formula node" to let the user of my app configure his own calculations,
but now I've found out that the "Eval formula node" doesn't support these functions.
e.g y= min (a,b)
or y = max (a+3, c-4)
I considered adding them myself to the Eval formula node's subvi's,
but franckly I've never seen such complex subvi's :-)
Is pretty urgent. Any ideas?MegKB wrote:
Maybe the MathScript node is the way to go now, as long as you want to install MatLab.
The MathScript node does NOT need Matlab. It runs Matlab-like code, but it is totally inside of LabVIEW. There is a Matlab node that uses ActiveX to run Matlab. For that you need to have Matlab installed.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Download Latest Petroleum / Chemical / Plant Engineering / CAD CAM CFD
FEA Engineering Software
Let's put an end to your rigorous search for softwarePS, sending money
and getting cheated, paying for evaluation versions in the name of full
versions etc.. You can get almost all full working versions under one
roof.
You need any type of CAD CAM CAE CFD FEA EDA PCB GIS CNC or any other type of software....SoftwarePS can provide you .. :You need software at low cost... contact 'SoftwarePS'
:You need fully working and professional version of engineering
software...'SoftwarePS' is the right choice
:You are searching for trustable and real crack software sellers....
'SoftwarePS' is the right choice.
:You need to have the copy of software available if you lost your
copy....'SoftwarePS' will provide you
:You need not to spend valuable money on shipment...'SoftwarePS'
provides high speed HTTP downloading without any cost
:You need not to pay high transaction amount for sending
money....'SoftwarePS' is the right choice.
http://www.cd-soft.net
>> Contact e-mail:
[email protected]
or
[email protected]
New Software:
===========
Signlab 7.1
Wilcom 2008
Windows Vista
Mathworks Matlab R2007a
Nemetschek Allplan v2006.2
GibbsCAM 2006 v8.0.38
Lectra Modaris
Lectra Diamino
FlexiSing 8
Scansoft Paperport 11.1 Professional
Tajima DG/ML MAESTRO
AVEVA VANTAGE PDMS V.11.6SP3.5
PLANIT FUSION V14
Bocad 3d 21
Gravostyle
Archicad 10.0
PC-DMIS 3.7MR2
Filemaker 8.5
IC compiler 2007.03
Tekla Xsteel 13
PTC PRO ENGINEER WILDFIRE v3.0 M070
Primavera Project Planner P3
Zuken CADStar 7.0
Husqvarna Viking 3D 7.05
EPLAN Professional 5.5
NI LabVIEW v8.2
Artcam jewelsmith v9
Code Composer Studio 3.1 Platinum
OrCAD PCB 386 v2.22h
Autodesk Civil Design 2008
SOLIDWORKS 2007
TekSoft CAMWorks 2007
Autodesk Architectural Desktop 2007
Robot Millennium version 19.0
Fluent v6.3.13
Cadence Allegro Silicon Package Board V16
JewelCAD 5.1
Mastercam v9
Solidedge v19
Singlab 7.1
DELCAM ARTCAM 9.021
DELCAM ARTCAM INSIGNIA 4.019
Bernina Artista v5.0
CSI SAP2000 11.0
Autodesk 3ds Max 9
Autodesk VIZ 2008
Autodesk AutoCAD Architecture 2008
Autodesk AutoCAD Electrical 2008
Autodesk AutoCAD Mechanical 2008
Autodesk AutoCAD 2008
Autodesk AutoCAD LT 2008
DHI MIKE ZERO V2007
Adobe Photoshop CS3 v10.0
Moldflow Plastics Insight v2007
UGS I-DEAS NX12M4
DASSAULT SYSTEMES CATIA V5R17 SP4
UGS Unigraphics NX 4.0
Ansys DesignSpace 11.0
PDMS v11.6
.........and much much more
See software and Price list here
http://www.cd-soft.net
E-Mail:
======
contact us at: [email protected] or
[email protected]
http://www.cd-soft.net
when writing email to us, please let us know from where you got our
email adderess?
*=> This is just for improving our service. Thanks for your
cooperation.
Note:
=====
1) Dear Readers, do not put any replies here. SoftwarePS will not check
any replies here on the forum.
Please, use our email address: [email protected],
[email protected]
http://www.cd-soft.net
2) If you could not find any reply from us in your inbox.. Please,
check ur spam mail folder.spam has been reported
-
Sir,
i am running a matlab code in mathscript of labview but getting an error
Error -90032 occurred at Error in function centref at line 5 column 8: The indexes are out of bounds for the variable you specified
this code running successfully in matlab
please help me in this regard
a .vi format file is attached named as mfcc_new.vi
Attachments:
mfcc2.vi 35 KB
mfcc_new.vi 111 KBMay I see you have 6 inputs to your Mathscript Node. When you test it in Matlab I suposse that you're using some values for this inputs and everything work as expected. Then, run it in Labview using highlight execution, retaining wire values and using single stepping. Check the values which are being inserted to your Mathscript Node and ensure that they are correct. You're having an "indexes out of bounds" mistake, so it probably means that there is something wrong with the inputs according to your expectations. You can also put the MathScript alone in another VI and insert the inputs you're expecting manually and check in the same way.
Good luck!
Maybe you are looking for
-
LG 29EA93 29 inch Widescreen LED Monitor Lightroom Issue
When I use Lightroom with the LG 29EA93 29 inch Widescreen LED Monitor Lightroom 5 initially looks and works OK but when I try and make changes using develop I get a gray area where the image should be (see below). I have tried other resolutions and
-
Purchse order workflow sending workitem to invalid person
Hi, I have a situation, where the user is receiving workitem mails to approve to outlook, even though he is not an approver. This is the case with only one plant. One more point is even in non-PO workflow, he is receiving the woritem mail execution m
-
Adobe reader subscriptions for iPad
Really in trouble – I have purchased adobe reader for iPad and a subscription for Acrobat.com file storage Adobe ExportPDF Adobe PDF Pack These show as Suscribed on my account All this has worked until 11.2 which I did not update to. I have now upd
-
Iphoto won't open as it says it's being updated..
iphoto won't open as it says it is being updated! but there are no updates happening...! help please. I have no backup for my photos so don't want to uninstall iphoto incase I loose all my photos.
-
CLD Practice Review - Car Wash
Hey, so I've done all 4 available CLD Prep Exams. I was curious if I could get some feedback on the Car Wash. This, imo, was the easiest of them all and so I was wondering what kind of marks I would end up getting with the attached as the end resul