I want use some matlab function in vb. How to connect matlab to vb? and How to use that function. Thx.
azhari24
Posts
-
Using matlab fuction in VB 6 -
package and deployment for VC6okay, i will try your suggest... thank you...
-
package and deployment for VC6okay, i will try your suggest... thank you...
-
package and deployment for VC6Hey friend, I want to ask, how to make setup from project VC6, like package and deployment wizard in VB. because I want use my project in the other PC without instal VC6. Thank you...
-
Microsecond timerokey... thank...
-
Microsecond timerokey, thanks do you have sample program?
modified on Wednesday, September 14, 2011 1:17 AM
-
Microsecond timerokey... thank's. i will try your suggest...
-
Microsecond timeryou have any articles or sample programs?and Can I ask articles or sample program?
-
Microsecond timermicrocontroller send data every 2 ms, my problem when the microcontroller gets the input, the program can not display the data directly, but must read the entire remainder of the data in the buffer. this is setting port, and recevied data. I use Microsoft Communication Control
TRY { m\_comm.SetCommPort(12); // use port 12 m\_comm.SetSettings("9600,N,8,1"); // setting port m\_comm.SetInputLen(1); // read 1 character m\_comm.SetRTSEnable(FALSE); m\_comm.SetRThreshold(0); m\_comm.SetPortOpen(true); // open port UpdateData(FALSE); MessageBox("Port opened successfully"); } CATCH(CException, e) { MessageBox("Error opening port"); } END\_CATCH
so I use the clear buffer to clear the buffer. but rather the execution time becomes slow and missing data
m\_comm.SetInBufferCount(0); // clear buffer }
can you offer some advice?
-
Microsecond timerthank you, for your suggestions
-
Microsecond timerthank you, for your suggestions
-
Microsecond timerthank you, for your suggestions
-
Microsecond timerHi... I have a program to read data from serial port,and I want to repeat the program every 1 microsecond. this is my program, but I just can repeat every 1 milisecond
void CStripDlg::OnTimer(UINT nIDEvent)
{
int dcount=0;
CString data[4];
VARIANT in_dat;{ in\_dat = m\_comm.GetInput(); // read port CString strInput(in\_dat.bstrVal); m\_input.Format("%s", strInput); // show data m\_comm.SetInBufferCount(0); // clear buffer } } UpdateData(FALSE); CDialog::OnTimer(nIDEvent);
void CStripDlg::OnStart()
{
SetTimer(1,1,NULL); // set data 1 milisecond
}
}thx
-
CSting ASCII to decimal Numberokey. Thanks for your help.
-
CSting ASCII to decimal Numberhow to convert an CString ASCII to decimal number? For example, an "A" alphabet in ASCII table is 65 in decimal number, how can i convert the alphabet to an integer as 65. I get data from serial port MSCOMM
VARIANT in_dat; in_dat = m_comm.GetInput(); CString strInput(in_dat.bstrVal);
I want conver strInput alphabet to decimal. i'm sorry, I can't speak english fluently. thx