Goop and flow
I'm starting to work with GOOP from endevo in labview.
As I'm a beginner in both labview and GOOP (but I now OOP concept from C++) I'm wondering if it's better to use objects in the traditional flow program or if I have to try to use only objects and have just a "main" vi which create the first object that will manage all the application and then be destroyed by this "main" vi.
I think that the second case is a bit radical, and I'd rather choose the first one but I would be pleased if someone can give me some pieces of advice.
Thanks in advance...
Hi
I'm working on a project where I use OOP in LV. Up to now I did not use it but here it makes sense, because I have to handle several objects.
The SW controls a test stand where the units are placed on a rotary plate. This plate is divided into 8 sections. One section is to put/remove an item, 6 sections do the same kind of test but with different parameters and the 7 section is another kind of test. All tests run in parallel and I saw no other way than placing unit-objects in these sections. It is not working in a productive environment yet, but the first tests were good.
The rest of the program still is "simple" LV, using the dataflow.
The main advantage in this application is that I am able to have these objects with its methods and properties, which are buffered in an array and I just can move these elements (references) in the array if the plate is moved on a section.
I always wanted LV to have more possibilities in OOP (I also use JAVA), but I found it is better to use the dataflow-paradigm, because LV is made for this. If there is really need for OOP functionality I use it - but just then.
ThomasMessage Edited by becktho on 06-24-2005 09:09 AM
Using LV8.0
Don't be afraid to rate a good answer...
Similar Messages
-
Import and flow the xml text in a indesign document
pls,anyone give me a solution for import and flow the xml text in a document.
thanks,
screen410099See http://forums.adobe.com/thread/838745?tstart=0
Would you mind waiting a bit before asking again and again and again and then again? It's possible the person who can answer you question just didn't happen to read the forums this week. -
Importing and flowing multiple text docs into InDesign CS3
I have multiple plain text files where each runs several pages long that I want to import into one document in ID CS3. I want to import them and have them flow in a single threaded text frame one after another over multiple pages. With a single multi-page text doc all I have to do is select Place and hold down the shift key and InDesign will add the necessary pages and flow the copy until the end of the doc. However, if I shift select the docs and try import them into a text frame by holding down the shift key, it will just flow the first doc in the group with no indication of overset text. I have tried placing multiple text docs holding down the shift and command key and that brings in all my docs on the first page but in separate text boxes with overset text for each doc. Is there a way to do this in InDesign or perhaps a plugin that can do this?
Thanks
RandyI tried to find this. It was posted 4/21/08 by Peter Kahrel (I can tell, because I can see my side of the discussion in my Sent folder) in response to a post I made entitled "Multiple Files". Maybe I'm not searching the forum archives properly, or maybe this was during the time last year when Adobe was trying (and failing) to update the forums. In any case, I'm sure at this point that Peter posted this for public consumption, so I don't think he's going to mind if I post it again:
// Description: Place multiple textfiles as one story
#target indesign
preset = "/d/books/test/*.doc";
app.wordRTFImportPreferences.useTypographersQuotes = false;
app.wordRTFImportPreferences.convertPageBreaks = ConvertPageBreaks.none;
app.wordRTFImportPreferences.importEndnotes = true;
app.wordRTFImportPreferences.importFootnotes = true;
app.wordRTFImportPreferences.importIndex = true;
app.wordRTFImportPreferences.importTOC = false;
app.wordRTFImportPreferences.importUnusedStyles = false;
mask = prompt( 'Enter a file path/mask.\r\r' +
'Examples:\r' +
'd:\\books\\test\\*.rtf /d/books/test/*.rtf', preset );
if( mask == null ) exit(); // Cancel pressed
ff = Folder( File(mask).path ).getFiles( File(mask).name );
if( ff.length > 0 )
placed = [];
missed = [];
tframe = app.documents.add().textFrames.add(
{ geometricBounds : [36, 36, 400, 400] } );
placedstory = tframe.parentStory;
app.scriptPreferences.userInteractionLevel =
UserInteractionLevels.neverInteract;
pb = initprogressbar( ff.length, 'Loading');
for( i = 0; i < ff.length; i++ )
pb.value = i;
try
placedstory.insertionPoints[-1].contents = '£0';
placedstory.insertionPoints[-1].place( ff[i] );
placedstory.insertionPoints[-1].contents = '\r\r';
placed.push( ff[i].name );
catch(_)
missed.push( ff[i].name );
app.scriptPreferences.userInteractionLevel =
UserInteractionLevels.interactWithAll;
inform = '';
if( placed.length > 0 )
inform = 'Placed ' + ff.length + ' files (in this order):\r\r' + placed.join('\r');
if( missed.length > 0 )
inform += '\r\rCould not place:\r\r' + missed.join('\r');
delete_empty_frames ();
alert( inform );
else
alert( mask + ' not found.' );
// End
function delete_empty_frames ()
app.findGrepPreferences = app.changeGrepPreferences = null;
app.findGrepPreferences.findWhat = '\\A\\Z';
var empties = app.activeDocument.findGrep (true);
for (var i = 0; i < empties.length; i++)
empties[i].parentTextFrames[0].remove()
function initprogressbar( stop, title)
var progresswindow = new Window('palette', title);
var progressbar = progresswindow.add( 'progressbar', undefined, 1, stop );
progressbar.preferredSize = [200,20];
progresswindow.show()
return progressbar;
Copy and paste everything between the hyphen lines (not including the hyphen lines) into a text editor and save with a .js extension and put it in your scripts folder. Should be something like:
D:\Program Files\Adobe\InDesign CS3\Adobe InDesign CS3\Scripts\Scripts Panel
After alphabetizing your files and putting them in their own folder, copy the path and run the script. It will make a new folder and place all your files in one continuous story. I don't know how it will work with .txt files.
Ken Benson -
Problems with parity and flow control using visa serial
I am trying to create a basic user interface with the options that my
company uses most often for a force indicator. You can configure
the indicator over serial, as well as read the values off the
indicator. I am trying to create the user interface so that using
producer/consumer loops with events, once you change a value, it will
write that new value to the serial port, ie the device.
The problem I am having is transfering the parity and flow control
values for the serial config to the Basic read write VI. The
problem is that once the consumer loop executes, it will write the
values correctly to the VI, but then the outer loop executes 200 ms
later and clears the values. I know that this is normal behavior
and that in order to keep the values stored, normally you would use a
shift register. I tried to use this and had some issues with
correct data types/array mis-mtaches, ets, so I created an indicator
and had a local vaible read the indicator, which seems to be working
for the stop bits, read bits, baud rate, etc, but not the parity anf
flow control. I always get "blank" outputs for theses values (if
you enable the digital display you can see that they are outputing the
value 0 which correspondes to None in both cases, which is
correct). Even though it appears that it is outputting the
correct value, I get an error that says the VISA property is
invalid. I initally did a search and found that my stop bit
control was wrong (outputting double instead of integer), but I could
not find anything on the parity/flow control issue. I even tried
to copy the serial config controls from the basic serial read/write to
my dialog box and that did not work either.
I would be grateful for any suggestions.
Thanks
Kenny
Kenny
Attachments:
BGI_main pandc.zip 232 KBI should add that I am using LV 8.0 and that the serial config
indicator in the consumer loop will be off the frontpanel in the final
VI so that it is not visible to the user.
Kenny -
Setup and flow of Excise duty in India Localization
Hi all,
Can any body tell me about the setup and flow of Excise duty in India Localization please. For eg: for Raw materials, Capital goods, Finished goods etc..
Thanks in advance
BalajiHi;
What is your EBS version? If you are on R11 level than check below
Please check below:
Oracle India Localization Setup User's Reference Manual [ID 334838.1]
Oracle India Localization Implementation Guide 11i [ID 334668.1]
Regard
Helios -
Design document and flow chart ofr procedures
for every pdocedure and fumctions we have to maintain design document and flow chart for taht procedure.
i need one sample design document and flow charthttp://www.lmgtfy.com/?q=design+document+flow+chart
-
How to batch download the elements and flow logic of screen
hi,all
i am doing programs transfer without using transport request.
it is easy to download simple reports,includeing code, text etc.but how can i deal with reports with customed screen.
for example, i have to download the elements and flow logic of screen 100 in a report. also, i need to upload in another server.
i need you help!
thanks
Regards
LTHi,
There are lots of utilities to do this. just search forum and you will be able to find the one.
Regards,
Atish -
Cross docking and flow throughs
Hi Gurus,
Can anyboday send me configuration steps in cross docking and flow through scenarios in is retail.
thanks in advance.
Regards,
PSHi,
Explore following URL
Collective Purchase Order
Bye,
Muralidhara -
I want to know about ehs module and flow
hi,
This is kishore. I have been assigned to ehs module. i want to know about that how it helps industries and flow of the module.
K. Kishorehi kishore
Please go thru this link
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/EHSSAF/CAGTFADM-EHS.pdf
reward points if it is helpful.
Regards
Alfred -
Certain pagebreak in a form which is dynamic and flowed
Hello,
I have a question. I have a form which is dynamic and flowed. In this fom are differents documents. Before a new document begins I want to have a pagebreak. In the old form which was designed with Adobe Livecycle Designer 8.0 the pagebreak works. The new form which was designed with Adobe Livecycle Designer 8.2 the pagebreak doesn't work.
Can somebody help me?
Thanks!You should first check if the Form is open, then only create a new instance if it's not open. Based on your code, I'd redesign CheckOpened so that it returns the opened instance, or null if it's not open. In button1_click, check the return value. If it's
null, create a new instance, otherwise use the returned refernce to make the modification, either by directly accessing label1, or indirectly by adding a property to Form2 that changes label1.text in the property-set method.
However, instead of searching for an open form, I'd just store a reference to it in a class level variable when it's created. So you just check for null if it's open. Additionally you must set it to null when handling Form2's FormClosed event.
Armin -
I need the maximum of informations you can give me about the behavior of flowN (and flow). How does it work? Is each flow instanciated in a thread or are all flows implemented in a "while" mechanism ?
This is a good question. There are 2 modes.
Mode #1 - ParallelSearch Demo
When the partnerlinks that are invoked in each branch are marked as <property name="nonBlockingInvoke">yes</property> (see C:\orabpel\samples\demos\ParallelSearch\AggregatedCatalog for example), then multiple threads perform in parallel on one specific instance.
Mode #2 - LoanDemo
If the nonBlockingInvoke flag is not set, then the branches are performed overall in parallel but each activity will lock the instance while it is executing. This means that, in mode #2, if you have
flow
sequence 1
invoke 1.1
receive 1.2
sequence 2
invoke 2.1
receive 2.2
and each receive takes 10 minutes, the overall flow will take 10 minutes but that each receive will actually lock the instance while it is receiving the callback and updating the scope.
I hope this helps.
-Edwin -
Plant maintence(PM) business process and flow charts
hello,
any one help me plant maintence(PM) business process and flow chart. pla expalin my any one.
rajeshhi
For PM business process kindly refer the following [link|http://help.sap.com/saphelp_46c/helpdata/en/fe/67f9609d6f11d189b60000e829fbbd/frameset.htm]
regards
thyagarajan -
I wish there was also an option to choose Hardness and Flow in the new HUD vertical movement - in other words I can set the size of the brush with my scrollwheel and custom button mapping, so I wish i could use hardness and flow (not opacity) with the new HUD interface.
It also would be great if there was an option to map HUD directly to RMB, so there wouldn't be a need to hold CRTL+ALT. The more customization the better.how do you access contextual menus?
With crtl+alt? What I'm saying is, there should be an option to switch that. HUD is a nice feautre and easily can replace the contextual brush menu.
HUD preferences doesn't support the flow. -
Drop Shipment and Back to back order setups and flow
Does anyone have a document related to Drop shipment and B2B setups and flow?The screenshots would be very helpful. Please let me know.
Drop ship link - http://www.oraappsguide.com/Drop_Ship_Process_R12.html.
-
Difference between STATIC and FLOW CONTROL in IKM
Hello,
Can someone explain the difference between STATIC and FLOW control in IKM ? What is the best situation to use them with some example ?
Can we have more than one ODI Constraint at the target table.
Thanks
Edited by: cdmnagaraj on 19-Oct-2008 21:59Hi Nagaraj,
Suppose your Lookup table -> column "VALUE" is 101.
How many rows in your source table (column) have "Balance" = 101 ??
I hope only One.
From your Source table all the recors will be moved to your I$ . then from your I$ it will check for the condition
and all the violated records will be moved to your E$
please check your "Insert CK Errors" from your operator
it will be like this....
insert into E$_TargetTable
ERR_TYPE,
ERR_MESS,
CHECK_DATE,
ORIGIN,
CONS_NAME,
CONS_TYPE,
col1,
col2,
balance
select
'F',
sysdate,
'(3367100)TESTPROJECTS.TestTable',
'conditionTest',
'CK',
col1,
col2,
balance
from I$_TargetTable CHI
where not (
Balance = (Select value from LOOKUP)
So in your case it will check for balance not equal to 101 . and it will push those records into your E$ table
Rathish
Maybe you are looking for
-
Can't restart Yosemite in Recovery Mode
I installed Yosemite on my mid-2012 MacBookPro yesterday, seemingly without difficulty. But: when I discovered that I didn't have permissions to read or write on anything, i ran Disk Utility. I tried Verify/Repair Permissions first, which discover
-
Objects look like bitmaps when importing vector files
Hello, I am absolute beginner with ID CS5. I am going trough a bunch of tutorials, and there is one thing I cannot solve. When I am importing vector file content (Illustrator CS5 file with vector objects - strokes) into InDesign frame, imported objec
-
CS5 loss of eyedropper option in Color selection menu?
Running CS5 on a MacPro 10.6.8 A few days ago, I suddenly cannot find the eyedropper to select color, either in type or color functions. When I click the color boxes, it now opens up the color menu with the usual sliders, crayons, specturms, etc, bu
-
Upload Amounts in Profit Center per Period
Hi all, I want to upload amounts in profit centers for different periods, same as in transaction 7KE1. I found 2 FMs when debugging this transaction, but I'm not sure about them. 1) PCA_PLANDATA_POST 2) PCA_ACTUALS_POST I wanna know if those FMs can
-
Selection of Middle tier components for creating data model
Which business layer is prefered to create interactive data model: 1. ADF business components or 2. Enterprise JavaBeans using Java persistance API (JPA) or 3. Toplink 4. Portlets which minimizes writing low level codes and how much OOPS knowledge is