HP Forums
Proper location for files on the PC for Connectivity Kit ,etc. - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Proper location for files on the PC for Connectivity Kit ,etc. (/thread-253231.html)



Proper location for files on the PC for Connectivity Kit ,etc. - Harold A Climer - 10-19-2013

I have had some fun working with some of the short programs quite a few folks on the Forum have posted.
I know that some of the code as displayed on the Forum pages is not exactly what the Emulator and the calculator itself uses. For example the Square Root symbol used by the emulator and the calculator is not displayed properly in the code snippets.
I can copy the code easily to the Virtual and Real calculators using cut and past and edit them if necessary.
How do I copy programs with the hpprgm ending to them,to both the Virtual and real calculator?
Where should these programs be stored in the Connectivity Kit sub directory to be visible to both calculators?
Are hpprgm s editable?
I have not found any information about these question on either the PRIME manual or the Connectivity Kit manual.


Re: Proper location for files on the PC for Connectivity Kit ,etc. - Geoff Quickfall - 10-19-2013

Good questions so here we go:

Condition; creating a new program and then saving it to the PC Connectivity Kit

1.  Create your program on the prime or the emulator.
2. With the prime plugged in and/or the emulator running, start the connectivity kit
(The order is not important, ex. Start the connectivity kit and then invoke the
emulator and/or plug in the prime).
3. On your App or program code is completed or partially completed select:
- on the kit the calculator in which the program code resides; if both emulator or
Prime are plugged in and the connectivity kit is running you will have both
sources to choose from.
- select the Program or App tree in which the code resides.
- open the program and a new window appears with four tabs of which:
-- program and info are the two tabs ou focus on.
- click on the program tab and see your code.
- highlight the code and copy.

At this point you can copy to the Content section by creating the program name in content. Clicking on the name and then copy it to the program tab of the program you just created and selected in the content section of the connectivity kit.

Or

What I also do, create a folder in your Prime file folder or where ever you save said documents. Open Notepad or some other word editor and open NEW document. Paste the program you previously copied (now in the clipboard) and paste then saveas...

This can now be transferred back and forth using paste commands.

Hope this helped.

Google youtube paste and copy Prime as someone did a short video.

Cheers, Geoff

Edited: 19 Oct 2013, 2:27 p.m.


A p.s. - Geoff Quickfall - 10-19-2013

Don't use Content for storing Info notes. They are dumped when the Kit is exited.

Simply append the notes to your notepad file containing the program code.

I find the notepad (I use word with courier font) to be the safest I also print as it is easier to read then the tiny font on the kit or the partial windows on the emulator/prime. It is so nice typing code on the pc and transferring it to the prime via copy and paste.

Cheers

Edited: 19 Oct 2013, 2:44 p.m.


Re: Proper location for files on the PC for Connectivity Kit ,etc. - Harold A Climer - 10-20-2013

Quote:
Good questions so here we go:

Condition; creating a new program and then saving it to the PC Connectivity Kit

1.  Create your program on the prime or the emulator.
2. With the prime plugged in and/or the emulator running, start the connectivity kit
(The order is not important, ex. Start the connectivity kit and then invoke the
emulator and/or plug in the prime).
3. On your App or program code is completed or partially completed select:
- on the kit the calculator in which the program code resides; if both emulator or
Prime are plugged in and the connectivity kit is running you will have both
sources to choose from.
- select the Program or App tree in which the code resides.
- open the program and a new window appears with four tabs of which:
-- program and info are the two tabs ou focus on.
- click on the program tab and see your code.
- highlight the code and copy.

At this point you can copy to the Content section by creating the program name in content. Clicking on the name and then copy it to the program tab of the program you just created and selected in the content section of the connectivity kit.

Or

What I also do, create a folder in your Prime file folder or where ever you save said documents. Open Notepad or some other word editor and open NEW document. Paste the program you previously copied (now in the clipboard) and paste then saveas...

This can now be transferred back and forth using paste commands.

Hope this helped.

Google youtube paste and copy Prime as someone did a short video.

Cheers, Geoff



I thank you for your help. But I am interested also in how things go in the other direction.
1. If I already have completed programs written,where do I store them on my PC so that the Connectivity Kit program recognizes them and thus the calculator sees them too. (From this I mean from completely outside of the Connectivity kit,etc.)
I can find programs stored in the Apps/Roaming directory using the emulator but the real calculator apparently does not see them.


Re: Proper location for files on the PC for Connectivity Kit ,etc. - Geoff Quickfall - 10-20-2013

At the moment the real calc does not see them unless you copy the file to the calc.

I have been having problems with the emulator and connectivity kit. The emulator crashes to often to call it a stable platform for storing programs. And the connectivity kit has a bug where any info stored in the content section is lost when the kit is exited.

Therefore at the moment, (those issues are known by the team) i store my programs using notepad in my HP prime folder. If the emulator, content or real need it I can source it from my notepad file.

I know copy-drag-and-drop are being worked on but I don't know about plugging the real calc in and having it find the new App or program.

So as it is now, neither my emulator or real calc talk to one another and it is up to me to create, copy and paste from one to another. For example, I do a lot of programming on the real calc (NCC1701) on the flight deck and bring that calc home.

So I do the following at home:

1.  Call up the connectivity kit.
2. Call up the emulator.
3. Plug in NCC1701.
4. Click on the Program tab and open the new program I want to paste.
5. Highlight-copy the program on the NCC1701.
4. Click on the 'Program tab of the emmulator.
5. Create a new program name in the emulator identical to the one I
Created on NCC1701.
6. Highlight-copy-paste the program from NCC1701
7. Repeat exercise with the Content tab/Program
8. Highlight-copy-paste the program from NCC1701 to a note pad file.

So I now have a notepad file, emulator copy and NCC1701 copy. Using the refresh calc button by selecting the name of the calculator in the kit and right clicking (emulator, NCC1701) you send anything you have done to the calcs. This is how a teacher can send to an entire class the contents of her/his Content folder.

Not seamless as you or I would like, but I am sure that it is in the works.

I just gave you my method for transferring back and forth!

Using the teacher function with fully operational connectivity kit will allow you to create programs or Apps in the Content tab and then send to the classroom, be that just your emulator and real or an entire class.

As I stated, although this function works, your info section only stays resident until you exit, so until this is fixed I will copy-paste.

Geoff

Edited: 20 Oct 2013, 2:20 p.m.


DOH, just got it... - Geoff Quickfall - 10-20-2013

I see, don't know why I didn't see it earlier, you are asking if there is a folder where programs can reside on the computer that is automatically recognized by the emulator or real calc?

No, I don't think it is that automated and definitely not without the connectivity kit running. I am sure the Content section is as close as it gets and that this is to be improved for the future.

Until then, and unless some undocumented function exists, it is copy and paste.

Cheers, Geoff

Edited: 20 Oct 2013, 3:01 p.m.


Re: Proper location for files on the PC for Connectivity Kit ,etc. - Marcus von Cube, Germany - 10-20-2013

The emulator and the calculator can talk to each other. The Connectivity kit must not be running as it grabs the connection. But without it, you can send items from the calculator to the emulator and vice versa. If the transmission does not work on the first attempt, try the opposite direction first on some other item.


Re: Proper location for files on the PC for Connectivity Kit ,etc. - Geoff Quickfall - 10-20-2013

I have used the cross talk between the emulator and the Prime but it doesn't seem consistent; hence my copy paste routine.

I will try the opposite direction transmission but I am glad to see that it is not just me. That indeed sometimes it is buggy!

Geoff

What are you doing up at 00:20 on a sunday evening?

:-)


Re: Proper location for files on the PC for Connectivity Kit ,etc. - Marcus von Cube, Germany - 10-23-2013

Quote:
What are you doing up at 00:20 on a sunday evening?

It wasn't that bad. 3:20pm EST is something like 21:20 here in Germany.

Time to meet again. Give me a call when you're nearby.