-
Posts
124 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by Mikrobi
-
-
Hello
Did anyone made any deep USB VIs for high speed communications?
I work with FTDI USB devices and need high speed (115200) communication for measurement radiomodem.
The FTDI has some examples (at FTDIchip examples) but it was made for ddl.
I'm looking any guidelines for VISA USB or any other strict LabVIEW solutions.
I've seen examples named USBRawBulkMain.vi but didn't found any manuals for that subject.
I work at win2000 and XP with LabVIEW7.1
best regards
Mikrobi
-
:worship: It Works Great, thanks!
regards
Mikrobi
-
Hello
I work at LabVIEW 7.1 at win2000.
How could I disable right mouse button menu at Table control?
I have Track Pop_up menu tool and when it works I get two right mouse button menus at once. It is nice, but not practical
regards
Mikrobi
-
I'm working with 2D string table and formating each string cell (font size, justify)
Very useful will be properties:
Text >>
- justify (left, center, right)
- font size
will be...?
Of course at string controls/indicators too...
-
All the Best Mathews Jacob :beer:
-
Has anyone played around with the "Diagram Disable Structure"?
-
OK, I will try this.
I heard also you shouldn't use while loops in a case of an event strucure, is this right?
-
Yes, I use an event structure. In the event structures I have while loops (one in one event). And the while loops have a button for start and stop. In some cases I have a case structure in an event.
I run my vi. Then I want to start one seperate case with a button. The programm works (numbers counting and the vi read out the serial number of the synchro card) but I can't press a button (stop/reset) or can't change the value of a controller. Everything you can activate is hanging.
Probably it is similar to that diagram:
If you press 'generate!' button, panel will be locked and you will not be able to press 'stop' or 'main STOP' buttons
Check outlined checkbox part of Events Editor ("Lock front panel...") - unselected should solve problem
regards
Mikrobi
-
-
Hi mikrobi,
The register for event callback does not work in the way you are intending it to work. U see in your image there is a input called VI ref. Right click on the register for event callback function and select create callback VI (I think that's what it's called). From here you can program a VI that will handle the event that you are registering every time that event occurs. In other words the register event callback VI waits for an activeX event and on that event it will call that VI that you wire the reference into there.
I hope this helps because initially I had problems with this as well,
Thanks for everyone!
:thumbup: I've made some examples and understood ActiveX events in LabVIEW.
best regards
Mikrobi
-
What are you trying to accomplish?
Using activeX events with the event structure
or user defined events w/ the event structure.
You can not use activeX events w/ the LV event structure
But you should be able to register a user defined event the way that you outlined.
By creating a new user event
Wiring it to the event terminal on the "register Events" function and then
wire the event registration refnum to the dynamic terminal of the event structure.
Be more specific in what you are trying to do
I have STI.ocx (systray icon activex component) and I want use that with LV event structure to operation with icon in tray events.
I could register that events from STI, but i can't use them...
regards
Mikrobi
-
When I register dynamic user event by Create User Event and Register Event I can connect 'event reg refnum out' to Dynamic Event Terminals and select dynamic event that call like defined data at input Create User Event.
But, when I use Register Event Callback I can't connect 'event callback ref out' to the Dynamic Event Terminals. So how could I Use register dynamic events from ActiveX in EVENT structure similary like with user events?
realy confused
Mikrobi
-
Hello all
Smple(? ) question:
Is there any method to programmable change or set fonts size in Table (2D string) control?
regards
Mikrobi
-
Does anyone know how to hide some of the LEDs or buttons on the front panel based on some conditions. Actually I am developing an user interface which will display the status of some digital lines and these lines are not fixed. They will vary with the project. So, I want to read the no:of lines from a file and display only those LEDs on the front panel .I want the rest of them to be either hidden or grayed out. How to do it?
I suggest use Property Node.
Example is here:
http://layer.uci.agh.edu.pl/~mikrobi/LAVA/...ropertNode.html
You could also write to Property Node static Boolean value for hide/show indicator.
If you want to grayed or disabled only control use Disabled property and set 0, 1 or 2 (enabled, disabled, disabled & grayed)
regards
Mikrobi
-
-
Yes but it is static method, I need to do it from control. Your method base at control or constant with existing name, but I want to set name from control input.
Yes, at runtime.
regards
Mikrobi
-
There is few method to send it as string:
1. from String subpalete: Array to Spreadsheet String
or
2. from Advanced>>Data Manipulation subpalett : function TypeCast :
- to input connect sound array from SI Read.vi
- to type connect empty string
output will be string
When you recieve string from serialport you sholul use just this method like when you send audio to serial.so use Type Cast and connect to input string from serial port and to type input connect I8 or I16 array
regards
Mikrobi
I think, the Type Cast method will be the best method.
regards
Mikrobi
-
Hey Mikrobi,
You can change the name of the events. The key is to change the name of the refnum that you are passing into the Register for Events primitive. However, if you're using the same subvi to pass that reference out that makes it a little tougher, but still possible.
Derek Lewis
Yes, it is possible to change the name of refnum, but only at edit mode. I need to set events name at run mode.
regards
Mikrobi
-
Hi,
is it possible to send some audio signals e.g. .wav from one port to an other port over LV?
Now I send only stings (numbers and text).
I like to test a signal, I will sent it from one port to an other port and after this I will compare both signals with a graph, but I don't know if I can sent .wav, too.
If you use SI Read.vi (Sound Input) you will get sound arrays:
1D [i8] for mono 8-bit sound
1D [i16] for mono 16-bit sound
2D [i8] for mono 8-bit sound
2D [i16] for mono 16-bit sound
depend what configuration (SI Cinfig.vi) you use.
There is few method to send it as string:
1. from String subpalete: Array to Spreadsheet String
or
2. from Advanced>>Data Manipulation subpalett : function TypeCast :
- to input connect sound array from SI Read.vi
- to type connect empty string
output will be string
When you recieve string from serialport you sholul use just this method like when you send audio to serial.so
regards
Mikrobi
-
Hello all
I work at application sensitive for other application events. Using function 'Register For Events' dynamic register four events from that same VIs with that same indicator name.
Finally I get four events with that same name, but I would like specify different names for them.
Here is diagram:
Is it possible to do that?
regards
Mikrobi
-
-
-
But I thought in a sub vi I can only put things that I needn't see permanent on the frontpanel. And I want to see my chosen connections (string to write, bytes written, VISA resource name, read string, bytes read...) and my "display area (visible display strings depends on the chosen connections from the radio button) " (the RX and TX display strings) permanent. Only the configuration should hide everytime until a user is clicking on the "config button".
I see, for a "greenhorn" it's not easy
You could locate all configuration controls in one cluster and set Visible property for them depend state of "config button"
And if you use Tab Control, you can locate controls or indicators for each Connection at different tab and you still will have separate terminals on diagram (it is different to locate controls in cluster). Tab Control allow you set page with Connection you selected by connecting numeric value to Tab Control terminal at the diagram.
No one born adult
regards
Mikrobi
-
I porgrammed some Vi files with the latest 7.1 version. now I have to switch to a machine where only version 7.0 is installed. When I try to open my vi files with the version 7.0. Labview complains about the version collision problem. How can I export the design from version 7.1 so that the file can also be editted by version 7.0?
At menu: File>>Save with Options >> Save for Previous options and select 7.0 LabVIEW Version
I hope it would help.
regards
Mikrobi
Problems with set color
in LabVIEW General
Posted
What about append table as classic LabVIEW table picture ?
"Append Control Image to Report.vi" could get control picture by it's references.
So Table could be formatted, (color, etc) by Property Nodes and looks like at VI.